473,395 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 1621
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Markus Doering | last post by:
Hello, I just switched from 2.2 to Python 2.3. I am developing an XML/CGI interface to databases as a python package called "unitWrapper" containing several modules which ran fine under v2.2. ...
2
by: Jakub Moscicki | last post by:
Hello, A small problem: I get a signal during a system call (from xmlrpclib -> httplib) and an exception "IOError: Interrupted system call" is raised (this is system dependant, on other machine...
0
by: johan | last post by:
---------- Forwarded Message ---------- Subject: problem CMFOODocument Date: Tuesday 21 October 2003 11:18 From: johan <johan30@easynet.be> To: zope@zope.org Hi, I have the following...
3
by: Adil Hasan | last post by:
Hello, I'm having problems trying to use ZSI to connect to a https url. I give the command and I get prompted for my X509 cert pass-phrase, but the program dies with an openssl error. Here's my...
1
by: Jeremy C. Reed | last post by:
Configuring gramps (genealogy software) says: checking Python bindings for gtk... ok checking Python bindings for GNOME... ok checking Python bindings for gconf... Traceback (most recent call...
2
by: venkatbo | last post by:
Hi all, I have python2.4 running on ppc-linux 2.6.17. I'm attempting to get a TurboGears 0.9a9 (using CherryPy 2.2.1) based app running on it. During the TG-app startup sequence, it reaches...
15
by: Christopher Taylor | last post by:
RHEL comes with Python2.3 installed. A program I need to install requires Python2.4 So I got Python2.4 from source and compiled it up. I configured it with --prefix=/usr --exec-prefix=/usr...
6
by: samn | last post by:
i compiled and installed the release version of python 2.5 for linux to a directory accessible to 2 computers, configured with --prefix=/usr/arch (which is accessible to both machines). the...
2
by: Pradnyesh Sawant | last post by:
Hello, I have a code snippet which does 'import xmltramp' to parse an xml file received over the network. Also, I have 2 instances of python, namely python2.4 and python2.5 on my box. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.