[GRASS-user] ImportError: No module named lib

Markus Neteler neteler at osgeo.org
Tue Oct 20 15:59:23 EDT 2009


On Mon, Oct 19, 2009 at 3:22 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> [CC to grass-dev]
>
> Rusiru Boteju wrote:
>
>> i get this
>> "ImportError: No module named lib"
>> when i try to run the code in http://grass.osgeo.org/wiki/GRASS_and_Python#Python-SWIG_examples
>> can any one help me :(
...
> I'm wondering whether grass.lib.grass (i.e. the bindings for libgis)
> should be renamed (to e.g. gis, general, or core) to avoid confusion.

"core" for libgis seems to make a lot of sense.
So: grass.lib.core

Markus


More information about the grass-user mailing list