How to fix 'Missing required dependencies ['numpy']' when running packaged app made with PyInstaller?
问题 When I run my packaged app I get the error ImportError: Missing required dependencies ['numpy'] . How do I fix this? The full error: I used pyinstaller guiMain.py to create the .exe, within a virtual environment created with pipenv shell . This virtual environment has numpy 1.16.0 installed, aswell as pandas , pyinstaller , sklearn , googleads and pytest . When I run the code (unpackaged and within the virtual environment) everything works fine. The packaging process goes fine aswell, until I