From: Davidmh <dav...@gm...> - 2010-05-12 18:11:46
|
Hello. I have compiled successfully several programs to Windows binaries usin py2exe, but when I try to execute a working program depending on VPython, I get the following error: Traceback (most recent call last): File "mirage.py", line 2, in <module> File "visual\__init__.pyc", line 66, in <module> File "visual\ui.pyc", line 3, in <module> File "visual\materials.pyc", line 151, in <module> File "visual\materials.pyc", line 129, in loadTGA IOError: [Errno 2] No such file or directory: 'C:\\pyex\\dist\\library.zip\\visual/turbulence3.tga' I use Python 2.5, and as I have seen, there have been more people with the same problem. The only solution reported I have found is simply deleting the definition on the module source code. Although inelegant, it could work, as long I am not using any materials in my program; but I don't like editing that kind of source. I think the option "excludes" could be used, but after several tries I haven't been successful. Any ideas? Thank you; David Menéndez. |