Hi All;

I'm experimenting with pyInstaller, with a very simply project, but
I'm having problems with importing modules from multiple directories.
Below - I've included a very simple example - I'd really appreciate
any help to get me started. Thanks !

Say I have the following pyInstaller / project structure:

./pyInstaller
./myprogram/myprogram.py
./myprogram/gui/application_frame.py

... where myprogram.py imports the frame script using
"
from gui.application_frame import ApplicationFrame
"

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
"

Thanks !

-- 
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.

Reply via email to