I’m Making a small app so I can Turn my apps into a executable, apparently one of the files is a .zip so i have to put everything into “Main” Folder , make it a Zip folder and unzip, I don’t know how to Set the path the files go to using python code…
Right from the start, this is pretty much impossible on Repls because they are Linux containers. See:
I forked your project and he did create a main.exe file inside the dist folder.
The thing is, as you can see in the Platform line: Platform: Linux-6.2.0-1019-gcp-x86_64-with ), this means that PyInstaller will generate a Linux executable, not a Windows .exe file. The generated file will be a Linux executable and won’t have an .exe extension.
In this case, the most practical solution is to use a native Windows environment to create your Windows executable.
Oh I See, Linux exe is not compatible with windows exe, cool. is there a work around?
I believe the only “workaround” would be to compile it on a Windows machine, which you can’t do on Replit.
Unless you manage to install something that can run VirtualBox that can run Windows, but because of all those layers, a regular non-boosted Repl probably couldn’t run all of that.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.