Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #27263
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
|---|---|
| From | wdtate@comcast.net |
| Newsgroups | comp.lang.python |
| Subject | Re: Python 2.7 import socket urllib fails to load, module not found |
| Date | Fri, 17 Aug 2012 13:41:37 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 40 |
| Message-ID | <1726c197-b2bb-47d8-982f-9f26af1e310d@googlegroups.com> (permalink) |
| References | <22db6f61-180c-47ce-a0c3-3315b40b8315@googlegroups.com> <mailman.3429.1345232370.4697.python-list@python.org> |
| NNTP-Posting-Host | 50.136.9.168 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1345236098 23468 127.0.0.1 (17 Aug 2012 20:41:38 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Fri, 17 Aug 2012 20:41:38 +0000 (UTC) |
| Cc | python-list@python.org |
| In-Reply-To | <mailman.3429.1345232370.4697.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=50.136.9.168; posting-account=hINqSwoAAACa9BnfUo4SmDvMl4mWdwot |
| User-Agent | G2/1.0 |
| X-Received-Bytes | 2140 |
| Xref | csiph.com comp.lang.python:27263 |
Show key headers only | View raw
>
> So, on my system I get:
>
> ActivePython 2.7.0.2 (ActiveState Software Inc.) based on
>
> Python 2.7 (r27:82500, Aug 23 2010, 17:18:21) [MSC v.1500 32 bit
>
> (Intel)] on win32
>
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import urllib
>
> >>> import socket
>
> >>>
>
>
>
> What does your system show?
>
>
>
> Emile
>
From cmd prompt - I get this:
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\urllib.py", line 26, in <module>
import socket
File "C:\Python27\lib\socket.py", line 47, in <module>
import _socket
ImportError: DLL load failed: The specified module could not be found
I also get that if I attempt to import socket.
NOTE this does not happen when I'm in the pythonwin IDE.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 12:20 -0700
Re: Python 2.7 import socket urllib fails to load, module not found Emile van Sebille <emile@fenx.com> - 2012-08-17 12:39 -0700
Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 13:41 -0700
Re: Python 2.7 import socket urllib fails to load, module not found Emile van Sebille <emile@fenx.com> - 2012-08-17 13:57 -0700
Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:15 -0700
Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:22 -0700
Re: Python 2.7 import socket urllib fails to load, module not found Emile van Sebille <emile@fenx.com> - 2012-08-17 15:40 -0700
Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:22 -0700
Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:15 -0700
Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 13:41 -0700
Re: Python 2.7 import socket urllib fails to load, module not found wdtate@comcast.net - 2012-08-17 14:21 -0700
Re: Python 2.7 import socket urllib fails to load, module not found Christian Heimes <lists@cheimes.de> - 2012-08-18 00:58 +0200
csiph-web