Bull's eye!! python MyScript.py threw the same error. I remember installing browserhistory package from within Pycharm's python console. I did not realize that the environment would be restricted to PyCharm only.
I did pip install browserhistory from the terminal & python MyScript.py now works. Thanks a ton!! On Friday, 17 July 2020 11:23:55 UTC+5:30, bwoodsend wrote: > > Does --hidden-import=browserhistory not fix it? That warning makes me > think it won’t but try it first anyway. > > Application runs fine via pycharm > > Can you also ensure that running it from cmd works too (using python > MyScript.py)? If it does then try using python -m PyInstaller instead of > just PyInstaller.exe. I believe there is a small chance your PyInstaller > and PyCharm are not using the same environment if it’s failing to find what > should be a trivial package for PyInstaller. > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/75cc8f90-0172-4def-a0c6-b7df64125dfdo%40googlegroups.com.
