I am trying to compile a complex script into an exe with PyInstaller, this is the install command I am currently using although I have tried many variations of these flags:
pyinstaller -w -F --debug=all --noupx --name godnesssakes .\uhoh.py
When I run the exe from the command line I get no output whatsoever, even with debug mode enabled:
Even after simplifying my python script to a simple print command I am still getting no output:
def main():
print('test')
main()
I have tried everything including reinstalling python, reinstalling pip, verifying path, verifying no conflicting versions, using --path flag in pyinstaller...
Versions:
- Python 3.9.9
- Pyinstaller 5.4.1
Answers that have NOT helped: