Am 25.09.2011 10:18, schrieb adamski:
> I tried to build my project like this:
> cd ./pyinstall
> python Configure.py
> python Makespec.py ../myprogram/myprogram.py -p ../myprogram/gui
> python Build.py ../myprogram/myprogram.py
>
> I get a
> "
>   File "../myprogram/myprogram.py", line 3, in <module>
>     from gui.application_frame import ApplicationFrame
> ImportError: No module named gui.application_frame
> "
Obviously your module/package "gui" is not in the Python search path
(PYTHONPATH).

I suggest doing this:

cd ./myprogram
python ../pyinstall/Configure.py
python ../pyinstall/Makespec.py myprogram.py
python ../pyinstall/Build.py myprogram.*spec*

-- 
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP

Goebel Consult 
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de

Monatliche Kolumne: http://www.cissp-gefluester.de/
Goebel Consult ist Mitglied bei http://www.7-it.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to