Reputation: 3
I developed a Desktop Application in Python on my Mac using PyCharm. Then I used pyinstaller to pack it and try to use it on Windows 10 and Windows 7 but when I try to run on windows 10 i have the error : This app can’t run on your PC check with software publisher.
I tried to set every possible setting on windows 10, from SmartScreen to security policy to allow external developer. Nothing. So I thought could be something about pyinstaller.
Ideas?
Upvotes: 0
Views: 1141
Reputation: 1270
PyInstaller is not cross platform.
See the documentation here., specifically the Note near the top of the page.
If you want to run on Windows, you must compile on Windows. Same for Mac OS and Linux.
Solutions to your particular problem:
As far as I know, there is no other way around this. No tricks or clever hacks... Sorry!
Upvotes: 1