Reputation: 459
I am using PyInstaller to create a stand-alone executable file from my Python script. The Python script was created by Python 3.7.1 and I use Anaconda.
When I run Pyinstaller, it creates a .spec file and build and dist folders. However, the dist folder is empty.
No errors were reported by Pyinstaller apart from "cannot find existing pyqt5 plugin directories".
How can I solve this problem? Or how I can troubleshoot it so I can understand where the problem is?
Upvotes: 0
Views: 1796
Reputation: 459
After several hours reading different threads I have finally found an acceptable solution.
I added:
--exclude-module PyQt5
to exclude PyQt5 since my scrip doesn't use it. The exe is created.
Hope it can help someone.
Upvotes: 3