Page 1 of 1

[SOLVED]Users can't open the .exe file because it can't find the .py file

Posted: Sat Feb 16, 2019 11:34 am
by Ceilyan
Hello :)

Another day, another problem. :oops: So an user sent me a message to tell me they couldn't open the application they dled on itch. They also sent me a screencap of the error message they keep getting.

It says :

C:\\Users\\user\\Documents\\[GameName]\\lib\\windows-i686\\GameName.exe Could not open C:\Users\user\Documents\[GameName]\GameName.py.

I suggested them to check their antivirus program or try to launch the exe as an administrator. The latter did not work, though. For the former, they didn't reach back.

Could you help me (again. I'm so sorry, I'm a noob when it come to game development :( ) to solve this?

Thank you very much in advance.

Re: Users can't open the .exe file because it can't find the .py file

Posted: Sun Feb 17, 2019 12:55 am
by PyTom
I'd suggest launching it through the itch app, which takes care of unpacking and setting things up properly.

Without knowing the game, it's impossible to see if the archive is somehow faulty.

Re: Users can't open the .exe file because it can't find the .py file

Posted: Sun Feb 17, 2019 9:12 am
by Ceilyan
Thank you for your answer :)

Turns out it was the archive's name that was at fault, containing a special character. I renamed it, and now it works with no problem.

Thanks again for your time!