Problems with wxPython _core_.pyd on windows98
Wanderer
wanderer at dialup4less.com
Thu Aug 2 15:46:04 EDT 2018
On Thursday, August 2, 2018 at 12:03:01 PM UTC-4, Wanderer wrote:
> I have a laptop with windows 98 I use to connect to the OBD2 port on my car. I'm trying to install pyobd. I have a build for Python 2.7 for Windows98 that works but I'm having trouble with running wxPython. I get the following error.
>
> C:\pyobd>python pyobd.py
> Traceback (most recent call last):
> File "pyobd.py", line 28, in <module>
> import wx
> File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\__init__.py", line 45, in <module>
> from wx_core import *
> File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\_core.py", line4, in <module>
> import _core_
> Import Error: DLL load failed: A device attached to the system is not functioning.
>
>
> So what is going on?
>
> Do these pyd files need to be compiled specifically for win98? If so how do I do that? Does python compile these dlls or do I need a C compiler?
>
> Is there an old version of wxPython that will work on windows 98?
>
> Thanks
I got it working with
Python 2.5.1
pywin32-207
pyserial 2.4
wxPython2.7
Though I'm still getting a warning
API version mismatch for module win32event. This Python has API version 1013, module win32event has version 1012
I don't know what it means.
pyobd.py has bug in it line 354
if "OS" in os.environ.keys() : running windows
"OS" is not in os.environ.keys() in windows 98, so I changed "OS" to "WINDIR" which is in os environ.keys in windows 98.
More information about the Python-list
mailing list