I am using Ubuntu on VirtualBox. How do I add pyinstaller
to the PATH
?
The issue is when I say
pyinstaller file.py
it says pyinstaller command not found
It says it installed correctly, and according to other posts, I think it has, but I just can't get it to work. I ran:
pip install pyinstaller
and
pyinstaller file.py
but it won't work. I think I need to add it to the shell path so Linux knows where to find it.
pip show pyinstaller
works.
You can use the following command if you do not want to create additional python file.
python -m PyInstaller myscript.py