Hi,
Has anyone tried to make an executable of an application using
enthought's python distribution? I keep getting an import error:
Traceback (most recent call last):
File "<string>", line 9, in ?
File "C:\Python24\pyinstaller-1.3\iu.py", line 334, in importHook
raise ImportError, "No module named %s" % fqname
ImportError: No module named enthought.traits.ui.wx
when trying to run the executable. There is a warning in the
wrnrun.txt file:
W: no module named enthought.traits.ui.wx (top-level import by
__main__)
>From the PyInstaller documentation I understand that this is probably
not a hidden import problem.
This happens even though the module's location is explicitly given in
the spec file's Analysis' pathex argument:
a = Analysis([ os.path.join(HOMEPATH,'support\\_mountzlib.py'),
os.path.join(HOMEPATH,'support\\useUnicode.py'),
'D:\\Trunk\\run.py'],
pathex=['C:\\Python24\\pyinstaller-1.3',
'C:\\Python24\\Lib\\site-packages\
\enthought.traits.ui.wx-1.1.0_r10538-py2.4.egg\\enthought\\traits\
\ui'])
Has anyone encountered this or similar problems? What can I do to fix
it?
Help of any kind is highly appreciated.
Eirik Svendsen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---