Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'importerror:': 0.05; 'url:pipermail': 0.05; 'ok.': 0.07; 'subject:missing': 0.07; 'python': 0.09; 'imports': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'library': 0.15; 'appreciated,': 0.16; 'cleanly': 0.16; 'email name:news': 0.16; 'message-id:@dough.gmane.org': 0.16; 'presume': 0.16; 'received:173.11': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'renamed': 0.16; 'script.)': 0.16; 'subprocess': 0.16; 'module': 0.19; 'versions': 0.20; 'skip:" 30': 0.20; 'import': 0.21; 'info.': 0.22; 'posted': 0.22; 'installation': 0.23; 'script': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '---': 0.26; 'skip:[ 10': 0.26; 'select': 0.26; '2.6': 0.27; 'header:X-Complaints-To:1': 0.28; 'subject:/': 0.28; '3.1': 0.29; 'cgi': 0.29; 'skip:/ 40': 0.29; 'url:python': 0.32; 'file': 0.32; 'running': 0.32; 'traceback': 0.33; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'server': 0.35; 'received:org': 0.36; 'url:org': 0.36; 'modules': 0.36; 'should': 0.36; 'why': 0.37; 'virtual': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'build': 0.39; 'header:Received:5': 0.40; 'help': 0.40; 'url:mail': 0.40; 'john': 0.60; 'interest': 0.62; 'more': 0.63; 'url:python-dev': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Emile van Sebille Subject: Re: select module missing/corrupt Date: Sat, 07 Jul 2012 07:45:15 -0700 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 173-11-108-137-sfba.hfc.comcastbusiness.net User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 47 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341672430 news.xs4all.nl 6891 [2001:888:2000:d::a6]:48527 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25021 On 7/7/2012 5:03 AM John Pote said... > 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/subprocess.py", line 427, in > import select > ImportError: No module named select > > On searching the Python installation I found what I presume is the > select module library file > > /usr/lib/python2.6/lib-dynload/select_failed.so > > whereas in the 2.4 installation the file is > /usr/lib/python2.4/lib-dynload/select.so > and subprocess imports OK. > > Anyone know why the version 2.6 select .so file should be renamed > select_failed.so and so not able to be imported? When python builds, modules that don't build cleanly get renamed [module]_failed. See http://mail.python.org/pipermail/python-dev/2002-March/020568.html for more info. Emile > > Of interest the 3.1 installation also has the select module file > re-named select_failed.so. > > Any help appreciated, > > Regards, > John Pote > > > --- Posted via news://freenews.netfront.net/ - Complaints to > news@netfront.net ---