Giovanni Bajo wrote:
raise ImportError, "No module named %s" % fqname
ImportError: No module named sqlalchemy
Of course, I agree that it's a bad default and should be changed. If you
think it's worth it, remove the current directory from sys.path at
startup.
I've done:
sys.path = [ p for p in sys.path if p.startswith('/usr/lib') ]
..at the beginning of the script and the packed binary STILL tries to
import all the .py files in the current directory, resulting in above
exception.
Why is it doing that? Can't the programmer import modules explicitly?
Regards,
mk
--
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.