The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: wdt...@comcast.net
Date: Fri, 17 Aug 2012 13:41:37 -0700 (PDT)
Local: Fri, Aug 17 2012 4:41 pm
Subject: Re: Python 2.7 import socket urllib fails to load, module not found
> 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
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.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||