ModuleNotFoundError with openpyxl #8755
Replies: 1 comment 1 reply
-
You need to have PyInstaller installed in the same virtual environment, and if you have PyInstaller installed in multiple environments (like in both base python environment and in virtual environment), you need to ensure that you are actually running PyInstaller that is installed within the target environment. To be sure, you can run |
Beta Was this translation helpful? Give feedback.
-
I am trying to crate an exe file for GUI application which uses several modules, that are not found by the pyinstaller. These are openpyxl, win32api, win32print and so on.
I am using pycharm for python and using virtual environment, does this affect somehow ?
After searching a bit I see there are solutions like using --hidden-import and --add-data however these did not work for me.
Below is the list of errors I have in text doc
Beta Was this translation helpful? Give feedback.
All reactions