I want to create a standalone exe
containing PyQt5
. I used PyInstaller
and identified the folder where to find the .dll
as follow:
pyinstaller --paths C:\...\Anaconda3\Library\bin --onefile --windowed test.py
The exe
was created successfully and when I run the exe
, the following error message appears:
FYI, my configuration is the following:
Anaconda3 4.2.0
withPython 3.5.2
(by defaultPyQt5
is installed viaAnaconda
so I never installed PyQt5 via apip install
. If I did that, a conflict appears and I can't usePyQt5
anymore).Qt 3.0.1
.dll
used have not been found in the usual folder (i.e. C:......\Anaconda3\Lib\site-packages\PyQt5) because I don't have a folder entitled "bin" in the folderPyQt5
.
Thank you