i am trying to make a simple executable file using pyinstaller. by following the steps given in link blow.
[https://datatofish.com/executable-pyinstaller/]
but at step 5 i am getting the error for using command "pyinstaller --onefile -main"
pyinstaller: error: the following arguments are required: scriptname
my file name is main and it containt only one line print("hello world")
As the error suggests, you are missing the file name. try doing it like this.
pyinstaller --onefile main.py
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With