[GRASS-dev] First step by GRASS

Nunzia Laguardia laguardia.nunzia at gmail.com
Fri Nov 6 05:52:07 PST 2015

I want to create a simple plugin that uses grass.
My configuration is:
- OS: widows 7 64bit
- Python: 2.7.4 (32bit)
- Osgeo4W (32bit) with

   -Qgis: 2.12.0
   -Grass: 6.4.4
   -Python: 2.7.4


if I open a shell and start python and write the command import
grass.script everything works.
if I open qgis and open the shell of python and write the command import
grass.script I have the following error
  File "C:\OSGeo4W\apps\Python27\lib\subprocess.py", line 878, in
WindowsError: [Error 6] Handle non valido

if I write in my plugin the command import grass.script I have the seame

I followed the tutorial:

Please help I read all forum that reported the same mistake but I did not
find solution .
Some indicate that the problem definition dell'stdin stdout and stderr .

I'm sorry for my english.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151106/3db6b5ae/attachment.html>

More information about the grass-dev mailing list