[GRASS-user] Compiling a Python-Script in Windows
António Rocha
antonio.rocha at deimos.com.pt
Wed Jul 14 12:03:41 EDT 2010
Greetings
I have developed a Python script for GRASS in Linux, that calls a
external module, and now I have tried to compile it in Windows using
this command:
make -C callexternalmeanshift.py
MODULE_TOPDIR=/c/osgeo4w/apps/grass/grass-6.4.0svn
but I get this error:
Traceback (most recent call last):
File "C:/osgeo4w/apps/grass/grass-6.4.0svn/etc/wxpython/wx
gui.py", line 473, in OnRunCmd
self.goutput.RunCmd(cmd, switchPage=False)
File "C:\osgeo4w\apps\grass\grass-6.4.0svn\etc\wxpython\gu
i_modules\goutput.py", line 354, in RunCmd
menuform.GUI().ParseCommand(cmdlist, parentframe=self)
File "C:\osgeo4w\apps\grass\grass-6.4.0svn\etc\wxpython\gu
i_modules\menuform.py", line 1863, in ParseCommand
xml.sax.parseString(getInterfaceDescription(cmd[0]).decode(e
nc).split('\n',1)[1].replace('', '<?xml version="1.0"
encoding="utf-8"?>\n', 1).encode("utf-8"),
File "C:\osgeo4w\apps\grass\grass-6.4.0svn\etc\wxpython\gu
i_modules\menuform.py", line 1802, in
getInterfaceDescription
raise IOError, _("Unable to fetch interface description for
command '%s'.") % cmd
IOError
:
Unable to fetch interface description for command
'callexternalmeanshift.py'.
'callexternalmeanshift' is not recognized as an internal or
external command,
operable program or batch file.
In Linux it works...Can Anyone help me?
Thanks
Antonio
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5278 (20100714) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
More information about the grass-user
mailing list