[wxPython-users] wx Import Error when loading from non-boot drive
Robin Dunn
robin at alldunn.com
Mon Nov 20 14:02:40 PST 2006
Dave Burdick wrote:
> I have a user who is having problems trying to get wxPthon to run on his
> Athalon Win XP Pro machine. He is running Python 2.4 and has installed
> wxPython on his L: drive (not his C: boot drive). Python is also installed
> on his L: drive (as part of a bundled application). When he types in import
> wx, this is what he's getting:
>
>>>> import wx
> Traceback (most recent call last):
> File "<string>", line 1, in ?
> File "L:/Vue/Vue 6 Infinite/Python/PythonLib\wx\__init__.py", line 42, in
> ?
> from wx._core import *
> File "L:/Vue/Vue 6 Infinite/Python/PythonLib\wx\_core.py", line 4, in ?
> import _core_
> ImportError:
>
> There is no message after the Import Error. I assume it's having a problem
> loading the compiled _core_.pyd file. Is there something path specific
> inside the .pyd files that would prevent them from running in a location
> other than the boot drive?
Not that I know of. _core_.pyd will need to load additional DLLs, some
of which come from the same dir as the .pyd, and others that will follow
the normal search path to find the DLL (looking at the dirs on the PATH
and then in the system dir) so maybe there is some problem loading one
of those.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list