Hi; Resolved this myself. python makespec.py ../myprogram/myprogram.py --path=../myprogram/gui
Thanks Marc On Sep 25, 10:01 am, Hartmut Goebel <[email protected]> wrote: > 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 > Umgebungenhttp://www.goebel-consult.de > > Monatliche Kolumne:http://www.cissp-gefluester.de/ > Goebel Consult ist Mitglied beihttp://www.7-it.de > > smime.p7s > 8KViewDownload -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
