[GRASS-user] problems compiling grass 7
landa.martin at gmail.com
Thu Jun 18 06:00:50 EDT 2009
2009/6/18 G. Allegri <giohappy at gmail.com>:
> Ok, I will solve the scripts but I wondered if the Python swig
Shell scripts are not supported in GRASS7. The scripts mentioned above
needs to be ported to Python.
> libraries are necessary to the Python infrastructure of grass 7. I
> thought it wasn't but I have a doubt because when I start grass I get:
> Starting GRASS ...
> Traceback (most recent call last):
> File "/usr/local/grass-7.0.svn/etc/wxpython/gis_set.py", line
> 845, in <module>
> import gui_modules.gcmd as gcmd
> File "/usr/local/grass-7.0.svn/etc/wxpython/gui_modules/gcmd.py",
> line 59, in <module>
> from grass.script import core as grass
> File "/usr/local/grass-7.0.svn/etc/python/grass/__init__.py",
> line 2, in <module>
> import lib
> ImportError: No module named lib
> and the /usr/local/grass-7.0.svn/etc/python/grass/lib folder is empty.
That's because compilation of Python swig failed. Then
etc/python/grass/__init__.py shouldn't contain "import lib" - it's
bug. Anyway Python swig interface is not currently used in wxGUI.
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
More information about the grass-user