Anyone knows how to fix this ?
[I am not using django in this project. But I do use flask]
Traceback (most recent call last):
File ".\pyinstaller.py", line 91, in <module>
main()
File ".\pyinstaller.py", line 86, in main
run_build(opts, spec_file)
File ".\pyinstaller.py", line 50, in run_build
PyInstaller.build.main(spec_file, **opts.__dict__)
File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 1709, in main
build(specfile, buildpath)
File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 1666, in build
execfile(spec)
File "C:\cygwin\tmp\pyinstaller\BlibConsole\BlibConsole.spec", line 5, in
<module>
hookspath=None)
File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 386, in
__init__
self.__postinit__()
File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 312, in
__postinit__
self.assemble()
File "C:\cygwin\tmp\pyinstaller\PyInstaller\build.py", line 539, in
assemble
importTracker.analyze_script(script)
File "C:\cygwin\tmp\pyinstaller\PyInstaller\depend\imptracker.py", line
256, in analyze_script
return self.analyze_r('__main__')
File "C:\cygwin\tmp\pyinstaller\PyInstaller\depend\imptracker.py", line
149, in analyze_r
newnms = self.analyze_one(name, nm, imptyp, level)
File "C:\cygwin\tmp\pyinstaller\PyInstaller\depend\imptracker.py", line
210, in analyze_one
mod = self.doimport(nm, ctx, fqname)
File "C:\cygwin\tmp\pyinstaller\PyInstaller\depend\imptracker.py", line
307, in doimport
hooks = __import__('PyInstaller.hooks', globals(), locals(),
[hookmodnm])
File "C:\cygwin\tmp\pyinstaller\PyInstaller\hooks\hook-django.py", line
36, in <module>
raise RuntimeError("No django root directory found. Please check your "
RuntimeError: No django root directory found. Please check your pathex
definition in the project spec file.
--
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/-/VMeMSJTHYXUJ.
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.