Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 16th, 2006, 01:25 AM
John Pote
Guest
 
Posts: n/a
Default 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


  #2  
Old March 16th, 2006, 04:35 PM
John Pote
Guest
 
Posts: n/a
Default Re: python2.4.2 + win95, import socket dll error

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" <wlfraed@ix.netcom.com> wrote in message
news:tf0i12t8gtfv3bpjc31omro2k4dlh4mkvh@4ax.com...[color=blue]
> On Thu, 16 Mar 2006 01:09:24 GMT, "John Pote"
> <johnpote@blueyonder.co.uk> declaimed the following in comp.lang.python:
>[color=green]
>> 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?)
>>[/color]
> 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
> --[color=green]
> > ================================================== ============ <
> > wlfraed@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
> > wulfraed@dm.net | Bestiaria Support Staff <
> > ================================================== ============ <
> > Home Page: <http://www.dm.net/~wulfraed/> <
> > Overflow Page: <http://wlfraed.home.netcom.com/> <[/color][/color]


 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles