I installed the latest 64-bit Python 2.5. I started the shell and try import socket , and we get:
>>> import socket Traceback (most recent call last): File "<stdin>", line 1, in <module> File "c:\python25\lib\socket.py", line 45, in <module> import _socket ImportError: DLL load failed with error code 193
I try the same with 64-bit Python 2.6.6 and get:
>>> import socket Traceback (most recent call last): File "<stdin>", line 1, in <module> File "c:\python26-64\lib\socket.py", line 46, in <module> import _socket ImportError: DLL load failed: %1 is not a valid Win32 application.
what deal? (I checked twice, yes, 64-bit OS).
UPDATE: I also have 32-bit python installed on this computer. If this is a conflict, how can I install both versions of python and are they behaving well?
source share