[osgeo4w-dev] [osgeo4w] #182: python "subprocess" module fails due to "No module named collections"

OSGeo4W trac_osgeo4w at osgeo.org
Tue Sep 28 03:02:48 EDT 2010


#182: python "subprocess" module fails due to "No module named collections"
-------------------+--------------------------------------------------------
Reporter:  vadp    |       Owner:  osgeo4w-dev@…              
    Type:  defect  |      Status:  new                        
Priority:  major   |   Component:  Package                    
 Version:  1.0     |    Keywords:  osgeo4w python             
-------------------+--------------------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/182>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.


More information about the osgeo4w-dev mailing list