Hello I have a python app that uses wxPython, numpy, and I'm trying to package
it with py2exe. I get the below error. I tried putting a dummy __init__.py file
in the distutils.tests directory but this did not solve the problem. how may I
fix this?
*** searching for required modules ***
Traceback (most recent call last):
File "C:\Users\Jeff\Documents\Working\App\setup.py", line 298, in <module>
cmdclass = {"py2exe": build_installer},
File "C:\Python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python26\lib\distutils\dist.py", line 975, in run_commands
self.run_command(cmd)
File "C:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "C:\Users\Jeff\Documents\Working\App\setup.py", line 273, in run
py2exe.run(self)
File "C:\Python26\lib\site-packages\py2exe\build_exe.py", line 243, in run
self._run()
File "C:\Python26\lib\site-packages\py2exe\build_exe.py", line 296, in _run
self.find_needed_modules(mf, required_files, required_modules)
File "C:\Python26\lib\site-packages\py2exe\build_exe.py", line 1342, in find_n
eeded_modules
mf.import_hook(package, None, ["*"])
File "C:\Python26\lib\site-packages\py2exe\mf.py", line 719, in import_hook
return Base.import_hook(self,name,caller,fromlist,level)
File "C:\Python26\lib\site-packages\py2exe\mf.py", line 137, in import_hook
m = self.load_tail(q, tail)
File "C:\Python26\lib\site-packages\py2exe\mf.py", line 217, in load_tail
raise ImportError, "No module named " + mname
ImportError: No module named numpy.distutils.tests
thanks,
Jeff
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor