It seems this line 

hiddenimports = [django_dottedstring_imports(root_dir)
                 for root_dir in django_root_dirs]

in hooks-django.py can call django_dottedstring_imports with an empty 
root_dir, which causes the os.path.basename to crash pyinstaller. 
Since I was not using django, I just replaced the above line with 

hiddenimports = [None]

and it was able to generate my EXE file. Perhaps there is a better way to 
fix this bug?

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/-/0PQgi3sKZCkJ.
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