Reputation: 181
I've seen many options online, but none of them seem to support Python 3.8. Is there any way to convert a python project to a .exe anymore? If so, how can I do that?
EDIT: I've tried PyInstaller multiple times, both before it was recommended here and afterwards, but I keep getting huge error messages that I don't know how to make sense of.
Upvotes: 0
Views: 230
Reputation: 13176
Use pyinstaller
.
Example: pyinstaller yourfile.py -F --onefile
This will turn your code into a .exe
file on Windows.
To install PyInstaller, you simply use pip, thus pip install PyInstaller
or pip3 install PyInstaller
.
You can also make sure you have the latest development version of pyinstaller: pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz
Upvotes: 1