[GRASS-user] Problem Script: "from collections import deque"
Glynn Clements
glynn at gclements.plus.com
Fri Feb 18 16:58:38 EST 2011
Johannes Radinger wrote:
> It seems there is a problem when I am trying to run a python script in
> GRASS GIS (every script I tried)...
> ...the error is:
>
> File "C:\GRASS6.5.SVN\Python25\lib\threading.py", line 13,
> in <module>
> from collections import deque
> ImportError: No module named collections
>
> But if I try to run the import command directly from the IDLE python
> shell (from collections import deque) it seems that the module is
> existing and loaded properly.
>
> I am working on Windows 7 with GRASS 6.5SVN and Pyhon 2.6.5
>
> What is there the problem?
GRASS "bundles" Python 2.5. Even when this works, it doesn't work
correctly.
Unfortunately, there isn't a simple option for running GRASS on
Windows at the moment. The official Windows packages for GRASS are
quite badly broken, and doing it yourself is a lot of work.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list