Unable to import required dependencies

39 views
Skip to first unread message

Rick Smith

unread,
Feb 20, 2020, 3:58:06 AM2/20/20
to PyInstaller
Hello All,

Trying to build an exe with pyinstaller running into trouble first with pandas gota modulenotfounderror so reinstalled pandas, seemed to get rid of that, now it's giving me

"Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
ImportError: Unable to import required dependencies:
numpy: No module named 'numpy'
pytz: No module named 'pytz'
dateutil: No module named 'dateutil'

I tried using pip to install those again but get requirement already satisfied" for everything but dateutilsget  no matching distribution found

I tried modifying the spec file like here nad using:pyinstaller someapp.py --onefile --hidden-import pandas

No good also tried modifying the spec file like here https://medium.com/@nbenton90/python-pandas-pyinstaller-watch-out-5d9af2cea867

Anything else I should try?

Thanks

M. Agus Setiadi

unread,
Feb 20, 2020, 4:10:32 AM2/20/20
to pyins...@googlegroups.com
Try to uninstall first and install again

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/a5471d76-3911-4915-99bf-f350884c8213%40googlegroups.com.

Rick Smith

unread,
Feb 21, 2020, 11:42:23 AM2/21/20
to pyins...@googlegroups.com
Thanks, I got it, It was pyinstaller, reinstall did the trick,

Reply all
Reply to author
Forward
0 new messages