[GH-ISSUE #68] wont open #64

Closed
opened 2026-02-26 12:20:22 +03:00 by kerem · 7 comments
Owner

Originally created by @BetaCyberSec on GitHub (Sep 9, 2019).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/68

nothing opens when i run it im on the windows 10 linux sub system

Originally created by @BetaCyberSec on GitHub (Sep 9, 2019). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/68 nothing opens when i run it im on the windows 10 linux sub system
kerem closed this issue 2026-02-26 12:20:22 +03:00
Author
Owner

@brentvollebregt commented on GitHub (Sep 9, 2019):

Do any messages or errors appear?

<!-- gh-comment-id:529326788 --> @brentvollebregt commented on GitHub (Sep 9, 2019): Do any messages or errors appear?
Author
Owner

@ehsanonline commented on GitHub (Oct 30, 2019):

I can not open on windows 10 too. it says:
This app can't run on your PC
To find a version for your PC, check with the software publisher.
the error is looked like this:
https://www.quora.com/How-can-I-correct-this-error-This-app-cant-run-on-your-PC-I-am-using-Windows-10

I tried both 'One file' and 'One folder' options and my app is super simple and works fine on python 3.6.
I've tried with the compatibility option on the file properties set to windows 7 it does not help.

Edit: seems like pyinstaller only build for the active OS, so i cant build for windows on linux! which was my problem.

<!-- gh-comment-id:548080987 --> @ehsanonline commented on GitHub (Oct 30, 2019): I can not open on windows 10 too. it says: This app can't run on your PC To find a version for your PC, check with the software publisher. the error is looked like this: https://www.quora.com/How-can-I-correct-this-error-This-app-cant-run-on-your-PC-I-am-using-Windows-10 I tried both 'One file' and 'One folder' options and my app is super simple and works fine on python 3.6. I've tried with the compatibility option on the file properties set to windows 7 it does not help. Edit: seems like pyinstaller only build for the active OS, so i cant build for windows on linux! which was my problem.
Author
Owner

@brentvollebregt commented on GitHub (Oct 30, 2019):

@BetaCyberSec said he was running it on the Windows 10 Linux subsystem, you @ehsanonline are running it in Windows which is different.

You haven't supplied what you're actually trying so I am going to have to guess you have packaged your script, moved the executable output to a new computer and am trying to run it. When running the executable, this dialog appears saying "This app can’t run on your PC".

In the page that you linked, architecture has been discussed at the top of the first answer. Are you aware what architectures both your machines have? I discuss the problem you are potentially having in the post that is linked in the auto-py-to-exe UI after every build under The exe Doesn't Work on Another Computer - I recommend reading this to see if it's your issue.

Aside from this, please make a new issue next time because your issue does not relate to the original issue created by @BetaCyberSec (unless you are using the Windows 10 Linux subsystem and haven't stated it?).

<!-- gh-comment-id:548128527 --> @brentvollebregt commented on GitHub (Oct 30, 2019): @BetaCyberSec said he was running it on the Windows 10 Linux subsystem, you @ehsanonline are running it in Windows which is different. You haven't supplied what you're actually trying so I am going to have to guess you have packaged your script, moved the executable output to a new computer and am trying to run it. When running the executable, this dialog appears saying "This app can’t run on your PC". In the page that you linked, architecture has been discussed at the top of the first answer. Are you aware what architectures both your machines have? I discuss the problem you are potentially having in the post that is linked in the auto-py-to-exe UI after *every* build under [The exe Doesn't Work on Another Computer](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/#the-exe-doesnt-work-on-another-computer) - I recommend reading this to see if it's your issue. Aside from this, please make a new issue next time because your issue does not relate to the original issue created by @BetaCyberSec (unless you are using the Windows 10 Linux subsystem and haven't stated it?).
Author
Owner

@ehsanonline commented on GitHub (Oct 31, 2019):

Yes you are right, I'm sorry. my bad!

<!-- gh-comment-id:548176666 --> @ehsanonline commented on GitHub (Oct 31, 2019): Yes you are right, I'm sorry. my bad!
Author
Owner

@brentvollebregt commented on GitHub (Oct 31, 2019):

@BetaCyberSec did you get any further on this?

<!-- gh-comment-id:548190174 --> @brentvollebregt commented on GitHub (Oct 31, 2019): @BetaCyberSec did you get any further on this?
Author
Owner

@brentvollebregt commented on GitHub (Jan 9, 2020):

No further information provided. Closing the issue.

<!-- gh-comment-id:572395298 --> @brentvollebregt commented on GitHub (Jan 9, 2020): No further information provided. Closing the issue.
Author
Owner

@mytja commented on GitHub (Nov 30, 2020):

On Windows you have to run it like this: python -m auto_py_to_exe

<!-- gh-comment-id:735664480 --> @mytja commented on GitHub (Nov 30, 2020): On Windows you have to run it like this: python -m auto_py_to_exe
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#64
No description provided.