Reputation: 37
I installed this package recently called pyinstaller
I went to use it and when I did it popped up with this error
'pyinstaller' is not recognized as an internal or external command,
operable program or batch file.
I used pip install pyinstaller
to install it. Is there any way I could fix this?
Upvotes: 2
Views: 102
Reputation: 2814
You should install it like this:
python -m pip install pyinstaller
(make sure that your python and pip are in PATH)
To check if pyinstaller got installed correctly, type pyinstaller
in your cmd/terminal, if no errors appear, it means you have pyinstaller installed.
Also, you have to modify your User PATH environment variable to include C:\Users\[USERNAME]\AppData\Local\Programs\Python\Python36-32\Scripts
.
(Look here if you need help doing that.)
Upvotes: 1
Reputation: 35
Edit: Managed to recreate the same issue on my laptop. For me the issue was that pip didn't have proper rights to install corectly. Uninstalling pyinstaller and installing again with cmd as admin worked.
Upvotes: 0