Strange import error...

Sorin Chiorean wrote:

Hi all,

I wrapped my app using py2exe and send it to a couple of friends for
impressions/sugestions and on one XP machine it didn't work. By the
way, the other machine was XP also and it did work.

Traceback (most recent call last): File "spring.py", line 1, in ? File "wx\__init__.pyo", line 42, in ? File "wx\_core.pyo", line
13406, in ? File "wx\_gdi.pyo", line 4, in ? File "wx\_gdi_.pyo",
line 9, in ? File "wx\_gdi_.pyo", line 7, in __load ImportError: DLL
load failed: The specified module could not be found.

I assume _gdi_.pyo tries to load _gdi_.pyd ? Which is there...

I can't debug the problematic machine cause it's not in my town, all I
know is that it has installed .NET environment so I think version 7 of
C runtime is installed. But I use py2.3 and it needs version 6 of the
runtime if I remember correctly. Could this be the problem?

It's possible, but MSVCRT.dll should be installed already on XP. Also if that were the problem then I would expect that _core.pyo would be the first to complain, not _gdi.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!