[GRASS-windows] r.basin for windows [was Re:
WinGrass6.5.svn-installer with selected addons]
Glynn Clements
glynn at gclements.plus.com
Thu Oct 20 11:49:59 EDT 2011
Helmut Kudrnovsky wrote:
> there are following error messages:
> File "C:\Program Files\GRASS6.5.SVN\Python25\lib\threading.py", line 13, in <module>
> from collections import deque
> ImportError: No module named collections
This is a common error caused by a broken Python installation or
attempting to mix Python versions (e.g. setting PYTHONPATH or
PYTHONHOME to point to one version but using the Python interpreter
from a different version).
With respect to GRASS, the usual reason for this error is the attempt
to "bundle" a copy of Python in the GRASS installer.
Bear in mind that, on Windows, "executing" a Python script (whether
from cmd.exe, the GUI, or via subprocess.Popen() or os.system()) will
use the Python interpreter associated with the .py extension. If
PYTHONHOME and/or PYTHONPATH refer to a different version, it will
break.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-windows
mailing list