#182 closed defect (invalid)
python "subprocess" module fails due to "No module named collections"
Reported by: | vadp | Owned by: | |
---|---|---|---|
Priority: | major | Component: | Package |
Version: | 1.0 | Keywords: | osgeo4w python |
Cc: |
Description
Although "subprocess" and "threading" are included in the python package for osgeo4w, there is no module "collections" there, but threading.py imports it at it's very beginning
Traceback (most recent call last): File "D:\bin\bsb2tiles\bsb2gdal.py", line 29, in <module> from subprocess import Popen, PIPE File "D:\bin\OSGeo4W\apps\Python25\lib\subprocess.py", line 376, in <module> import threading File "D:\bin\OSGeo4W\apps\Python25\lib\threading.py", line 13, in <module> from collections import deque ImportError: No module named collections
Change History (4)
comment:1 by , 14 years ago
follow-up: 3 comment:2 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Sorry for the buzz. I've followed the thread above and found an interference with another python installation at my machine. So the ticket is invalid
follow-up: 4 comment:3 by , 14 years ago
Replying to vadp:
Hi,
Sorry for the buzz. I've followed the thread above and found an interference with another python installation at my machine. So the ticket is invalid
I am facing to the similar problem (and probably many GRASS users). How have you solved the problem. By the way the stock Python 2.6.4 installer for Windows does include this module.
Martin
comment:4 by , 14 years ago
Replying to martinl:
Replying to vadp:
Sorry for the buzz. I've followed the thread above and found an interference with another python installation at my machine. So the ticket is invalid
I am facing to the similar problem (and probably many GRASS users). How have you solved the problem. By the way the stock Python 2.6.4 installer for Windows does include this module.
It seems to be bug in GRASS windows installer, sorry for noise.
see also http://osgeo-org.1803224.n2.nabble.com/Python-collections-module-td4534433.html