Can anyone help me with this problem:
I can compile my project but when I run it I get the following exception:
Unhandled ImportError: No module named werkzeug.exceptions
Traceback (most recent call last):
File
"C:\cygwin\home\joe\project\build\build\pyi.win32\myprojConsole\out00-PYZ.pyz\twisted.internet.base",
line 426, in _continueFiring
File
"C:\cygwin\home\joe\project\build\build\pyi.win32\myprojConsole\out00-PYZ.pyz\myproj.startup.instances._base",
line 118, in _initialize
File
"C:\cygwin\tmp\pyinstaller_test\pyinstaller\PyInstaller\loader\pyi_iu.py",
line 431, in importHook
mod = self.doimport(nm, ctx, ctx + '.' + nm)
File
"C:\cygwin\tmp\pyinstaller_test\pyinstaller\PyInstaller\loader\pyi_iu.py",
line 480, in doimport
exec co in mod.__dict__
File
"C:\cygwin\home\joe\project\build\build\pyi.win32\myprojConsole\out00-PYZ.pyz\myproj.api",
line 9, in <module>
File
"C:\cygwin\tmp\pyinstaller_test\pyinstaller\PyInstaller\loader\pyi_iu.py",
line 386, in importHook
mod = _self_doimport(nm, ctx, fqname)
File
"C:\cygwin\tmp\pyinstaller_test\pyinstaller\PyInstaller\loader\pyi_iu.py",
line 480, in doimport
exec co in mod.__dict__
File
"C:\cygwin\home\joe\project\build\build\pyi.win32\myprojConsole\out00-PYZ.pyz\flask",
line 17, in <module>
File
"C:\cygwin\tmp\pyinstaller_test\pyinstaller\PyInstaller\loader\pyi_iu.py",
line 409, in importHook
raise ImportError("No module named %s" % fqname)
I've tried manually importing this module, tried adding
hooks-werkzeug.expceptions.py with hiddenimports=['abort']
Can't seem to fix it,
Thanks,
--Ram
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pyinstaller/-/WP6FPzqgtuIJ.
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.