[GRASS-user] Using from Python

Hi,
  I'm trying to use GRASS without opening it (from python directly)
and I followed these instructions here:
http://grasswiki.osgeo.org/wiki/GRASS_and_Python

  I am able to import grass in python, but when I try to import
grass.script, I get an error like the one in the picture. I checked an d I
DO have the missing file in the folder C:\Program Files (x86)\Quantum GIS
Lisboa\apps\msys\bin , so I don't really know what the problem is

  A Google search also did not help. Suggestions?

  I'm using Windows 7 pro, python 32 bits and Quantum GIS 1.8 (GRASS
GIS 6.4.3RC2 installed with it).

Thanks,
  Pedro

(attachments)

error.png

On Sat, Oct 12, 2013 at 1:11 AM, Pedro Camargo <veigacamargo@gmail.com> wrote:

Hi,
        I'm trying to use GRASS without opening it (from python directly)
and I followed these instructions here:
http://grasswiki.osgeo.org/wiki/GRASS_and_Python

        I am able to import grass in python, but when I try to import
grass.script, I get an error like the one in the picture. I checked an d I
DO have the missing file in the folder C:\Program Files (x86)\Quantum GIS
Lisboa\apps\msys\bin , so I don't really know what the problem is

It searches for "libintl3.dll" according to your screenshot.

See
http://grasswiki.osgeo.org/wiki/WinGRASS_errors#Error_message_.22This_application_has_failed_to_start_because_libintl3.dll_was_not_found.22._.28or_libiconv2.dll_and.2For_regex2.dll.29
"Reinstalling of the "msys" package in the OSGeo4W installer will
bring it back. "

Hope this helps,
Markus