$ pip install Pillow
Error: 'pip' is not recognized as an internal or external command,
operable program or batch file.
I'm doing this in the command prompt on windows.
$ pip install Pillow
Error: 'pip' is not recognized as an internal or external command,
operable program or batch file.
I'm doing this in the command prompt on windows.
Official documentation for installing pip can be found here.
In short, you can download get-pip.py
from here (right-click the link and then choose Save link as...
). Then you can navigate in the command prompt to the directory you downloaded get-pip.py
to.
Once you've done that, you can install pip for just your user with
python get-pip.py --user
If you want to install pip system-wide, you need to use an Administrator command prompt, and run
python get-pip.py
Then you can install Pillow with
python -m pip install Pillow
You need to install pip, to be able to download packages.
Pip is the package installer for Python and is required to install Python Packages.
python --version
in the terminalpip help
in the terminal.Once you have pip installed, you can now install the pillow package. This is as simple as typing pip install pillow
into your terminal.
Once you've done this, you will successfully have the pillow package installed for Python.
First run:
python
if it says that it can't recognize the command, it means you haven't installed python properly on your system. Install it using this guide
If python is installed, run this to install pip:
sudo apt-get install python-pip
Finally, try installing pillow again. It will probably work now.