469,917 Members | 2,336 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

python2.4.2 + win95, import socket dll error

Hi all,
Can someone throw some light on this problem? (is trying to run Python 2.4.2
on an old win95 box a reasonable thing to do?)

I keep my old win95 box for an old eprom programmer that won't plug into a
new box (needs an ISA socket!). Also use it for network testing. No problem
with Py 2.3 but wanting to use the latest Twisted I upgraded to 2.4.2.

Installing Mark Hammond's pywin32-207.win32-py2.4.exe (or prev version -205)
I get the following error message during the post install script bit of the
installation:-

Traceback (most recent call last):
File "<string>", line 365, in ?
File "<string>", line 155, in install
File "<string>", line 94, in LoadSystemModule
ImportError: DLL load failed: A device attached to the system is not
functioning.
*** run_installscript: internal error 0xFFFFFFFF ***

When I try to run a script using the socket library (also trying to start
Stani's Python Editor) I get the following message:-

File "C:\APPS\PYTHON\242\lib\SocketServer.py", line 132, in ?
import socket
File "C:\APPS\PYTHON\242\lib\socket.py", line 45, in ?
import _socket
ImportError: DLL load failed: One of the library files needed to run this
applic
ation cannot be found.

Is it the same dll in both cases, any idea what it might be and where could
I find a copy?

Many thanks,

John Pote
Mar 16 '06 #1
1 1488
Dennis,
Thanks for the info. Found winsock2.0 on the MS knowledge base site.
Downloaded, installed (with the y2k upgrade as recommended) and, amazingly,
all is working. My simple socket server works no problem as does a test http
client sending data to my web site. This latter program seems a little
grainy on updating the wxPython GUI compared to my modern XP box and
slightly older W2K laptop. But its working!

You might like to know:
I tried searching for winsock 2.2,
on MSK base no hits
on google search many hits but the ones I could make out all refered to
winsock2.2.exe as a variant of the spybot worm.

Thanks for helping solve the problem,

All the best

John Pote
"Dennis Lee Bieber" <wl*****@ix.netcom.com> wrote in message
news:tf********************************@4ax.com...
On Thu, 16 Mar 2006 01:09:24 GMT, "John Pote"
<jo******@blueyonder.co.uk> declaimed the following in comp.lang.python:
Hi all,
Can someone throw some light on this problem? (is trying to run Python
2.4.2
on an old win95 box a reasonable thing to do?)

Wasn't Winsock updated between W95 and W98?

You may have the older winsock 1.1, and all the newer stuff is built
against (and trying to load) winsock 2.2
--
================================================== ============ <
wl*****@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.netcom.com/> <

Mar 16 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Markus Doering | last post: by
2 posts views Thread by Jakub Moscicki | last post: by
reply views Thread by johan | last post: by
15 posts views Thread by Christopher Taylor | last post: by
6 posts views Thread by samn | last post: by
2 posts views Thread by Pradnyesh Sawant | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.