How to Convert Python PyQt5 app to one file .EXE

Аватар автора
Питоновый культ
Convert python PyQt5 gui to .exe in windows. We can use pyinstaller or nuitka to do it. In this, video I use nuitka to convert PyQt5 to .exe so everyone can run Python script without the installation of Python, like a complete app. I met a problem when convert use --onefile. After solving the problem, I made this video to remember and hope this will help someone. Code in video: - Standalone Mode: python -m nuitka --mingw64 --windows-disable-console --windows-icon-from-ico=icon.ico --include-data-file=icon.ico=icon.ico --plugin-enable=pyqt5 --standalone main.py - Onefile Mode: python -m nuitka --mingw64 --windows-disable-console --windows-icon-from-ico=icon.ico --plugin-enable=pyqt5 --onefile main.py

0/0


0/0

0/0

0/0