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
Come across the same issue today. In my case, pyinstaller was sitting in ~/.local/bin and this path was not in my PATH environment variable.
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