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.
pip install
puts anything depends on whether you have a virtualenv active, where your Python interpreter (the one backingpip
) is located, etc. BTW, "won't work" isn't a particularly helpful description -- including the specific error message in the question itself would help folks affirm that your diagnosis (that it's a missing PATH entry that's the issue at hand) is correct. – Negotiationpip install pyinstaller
will (on Windows) generally put apyinstaller.exe
shim in theScripts
subdirectory of your Python install location (on UNIX-family systems the directory is calledbin
). Have you looked at whether it's there? – Negotiation