Pyinstaller and python(chaos)? How Can I set the install path in pyinstaller?

Question:
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…

Repl link:
https://replit.com/@Josephyc/python-to-exe

import PyInstaller
import PyInstaller.__main__

PyInstaller.__main__.run([
    'pythonfile.py','--noconsole','~make'
])
1 Like

Right from the start, this is pretty much impossible on Repls because they are Linux containers. See:

3 Likes

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.

3 Likes

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.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.