Hi,
i pack my app into onefile name application. and i print some
thing like a
print find_module('web.db')
in my code. but i got some error
"ImportError: No module named web.db"
but i check the executable, the module is just in there, see the
following:
......
'web.browser': (False, 1033924, 4065),
'web.db': (False, 803411, 14724),
'web.debugerror': (False, 524320, 5553),
'web.form': (False, 787326, 5123),
......
and also, i print sys.modules in my code, its output shows web.db has
been imported:
'web.time': None, 'codecs': <module 'codecs' from '/opt/engr/
application?39138/codecs.pyc'>, 'logging.sys': None, 'web.itertools':
None, 'logging.weakref': None, '_functools': <module '_functools' from
'/tmp/_MEIYFZIdY/_functools.so'>, 'web.db': <module 'web.db' from '/
opt/engr/application?39138/web/db.pyc'>,
what's wrong with the find_module()?
thanks in advance and bye.
--
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.