Help: py2exe and os.path

Utente prova at qui.com
Sun Apr 28 05:33:29 EDT 2002


Hello everybody. I need some help using py2exe. I'm building a program using
Python 2.2, wxPython and a module i'm developing.
I would like to distribute the program as a windows exe, and i'm playing
with py2exe 0.3.1 (very nice!). The program is getting bigger every day.
The problem is that i can't understand two things:
py2exe works fine, but i get the following error (this is the only error in
a long source!!!):

warning: py2exe:
***************************************************************
**********
warning: py2exe: * The following modules were not found:
warning: py2exe: *   os.path
warning: py2exe:
***************************************************************
**********

I'm using many modules, and with IDLE it works fine! Why doesn't it find the
os.path module? Actually i only need a function from os.path to see if a
file exists (if so, i load data from it), but the "compiled" version never
tests this and always creates it from scratch. :(

Thanks in advance for any help or suggestion...
Max





More information about the Python-list mailing list