I am trying to create an executable file from PyCharm using Pyinstaller. I run pyinstaller --onefile --windowed myprogram.py
That created a file in the dist folder. Now I try to run that file in pycharm console using myprogram arg1
, the error that myprogram command not found
How could I create an executable and run it with command line parameters, which was required by the program? Many thanks.