I've been trying for a long time to convert my .py file which is 100% working into a .exe file so that I can click it and run it without going into the python editor. I followed these steps: https://stackoverflow.com/a/44433442/12309053 but nothing has been working. I'm having issues when I try to run the python setup.py build line, I don't get an error it just doesn't run and outputs another line for me to input a command again. I believe to have successfully installed cx_freeze as well as pyinstaller(not sure if relevant).
I'm struggling to figure out why I can't run this command.
I did run a command prior to trying the steps listed in the other forum, which lead me to actually create build folders etc. The problem was there was no .exe file to run and there was error in the command prompt. I apologize as I forget what I ran before.
Recieve the output when running pyinstaller:
'''
File "c:\users\jamal\appdata\local\programs\python\python38-32\lib\site- packages\PyInstaller\building\utils.py", line 653, in <genexpr>
strip_paths_in_code(const_co, new_filename)
File "c:\users\jamal\appdata\local\programs\python\python38-32\lib\site- packages\PyInstaller\building\utils.py", line 660, in strip_paths_in_code
return code_func(co.co_argcount, co.co_kwonlyargcount, co.co_nlocals,
co.co_stacksize,
TypeError: an integer is required (got type bytes)