Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#182 closed defect (invalid)

python "subprocess" module fails due to "No module named collections"

Reported by: vadp Owned by: osgeo4w-dev@…
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:2 by vadp, 14 years ago

Resolution: invalid
Status: newclosed

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

in reply to:  2 ; comment:3 by martinl, 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

in reply to:  3 comment:4 by martinl, 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.

Note: See TracTickets for help on using tickets.