I was trying to convert my main.py to a exe file
I followed a tutorial on youtube i did it like it said
then type in pip install pyinstaller

then type in like this pyinstaller --onefile main.py
but it does’nt convert it shows this

>Solution :
While Eyal’s solution is correct, there is an easier option. Just run this:
py -m PyInstaller --onefile main.py
It could also be python -m PyInstaller --onefile main.py depending on your system configuration.
