Reputation: 11
I want to create an app for Windows but I've to developed it on Mac OS X. I've created a desktop app with Python using PyQt5. The steps that I followed are:
Step 1. Create a desktop app (On Mac OS X):
Step 2. Package the Python app with PyInstaller(On Windows 8):
The problem is that, when I execute the app on Windows, it shows a window with the following message: Fatal error: app returned -1.
Anybody knows what is wrong? Maybe I need to do the Step 1 on Windows too?
Upvotes: 1
Views: 670
Reputation: 335
PyInstaller brings together every dependancy of your python script. But you need to install all dependancies before running pyinstaller.
So, before running it on windows, you must install qt5, sip and pyqt5.
Upvotes: 1