[Tutor] missing module?

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Tue May 3 10:24:15 CEST 2005


> Hello, I get an error message from py2exe that it can't find a module
> ntpath.py.  I pasted the error message below:
>
> Traceback (most recent call last):
>   File "wxApp1.py", line 4, in ?
>   File "wx\__init__.pyc", line 42, in ?
>   File "wx\_core.pyc", line 4, in ?
>   File "wx\_core_.pyc", line 9, in ?
>   File "wx\_core_.pyc", line 3, in __load
>   File "C:\Python24\lib\os.py", line 62, in ?
>     import ntpath as path
> zipimport.ZipImportError: can't find module 'ntpath'
>
>  I can find ntpath why can't py2exe? how can I get this thing working?
> thanks for the help.

Hi Jeff,

Has anyone answered you about this?  I did a quick Google search, and it
looks like this has been discussed a bit on the py2exe-users's mailing
list:

http://aspn.activestate.com/ASPN/Mail/Message/py2exe-users/2551705

Looks like there might be an issue where old files in 'build' and 'dist'
confuses py2exe.  Check with the py2exe folks just to confirm this issue.


Best of wishes to you!



More information about the Tutor mailing list