Skip to content

Instantly share code, notes, and snippets.

@cointoss1973
Created April 16, 2012 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cointoss1973/2399390 to your computer and use it in GitHub Desktop.
Save cointoss1973/2399390 to your computer and use it in GitHub Desktop.
python DLL load failed on Windows 7 64-bit
$ python
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import sys
>>>
>>> sys.path
['', 'c:\\Python26\\lib\\site-packages\\setuptools-0.6c11-py2.6.egg', 'c:\\Python26\\lib\\site-packages\\nose-0.11.0.dev-py2.6.egg', 'c:\\Python26\\lib\\site-packages\\coverage-3.5.1-py2.6-win32.egg', 'C:\\Program Files\\TortoiseHg\\library.zip', 'C:\\Windows\\system32\\python26.zip', 'c:\\Python26\\DLLs', 'c:\\Python26\\lib', 'c:\\Python26\\lib\\plat-win', 'c:\\Python26\\lib\\lib-tk', 'c:\\Python26', 'c:\\Python26\\lib\\site-packages']
>>>
>>> import mercurial
>>>
>>> import urllib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "urllib.pyo", line 26, in <module>
File "socket.pyo", line 46, in <module>
File "_socket.pyo", line 12, in <module>
File "_socket.pyo", line 10, in __load
ImportError: DLL load failed: %1 は有効な Win32 アプリケーションではありません。
>>>
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment