select module missing/corrupt

John Pote johnpote at
Sat Jul 7 14:03:27 CEST 2012

We are using a virtual web server running some version of Unix. It has 
Python versions 2.4,2.6 and 3.1 pre-installed.

(BTW the intention is to use Python for a CGI script.)

When my script imports subprocess I get the traceback
   File "/usr/lib/python2.6/", line 427, in <module>
     import select
ImportError: No module named select

On searching the Python installation I found what I presume is the 
select module library file


whereas in the 2.4 installation the file is
and subprocess imports OK.

Anyone know why the version 2.6 select .so file should be renamed and so not able to be imported?

Of interest the 3.1 installation also has the select module file 

Any help appreciated,

John Pote

--- Posted via news:// - Complaints to news at ---

More information about the Python-list mailing list