Closed Tony-Frank-ML closed 3 years ago
Here's a working installation via CI:
python -m pip install --upgrade pip
python -m pip install --upgrade pillow
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages (21.2.4)
Collecting pip
Downloading pip-21.3-py3-none-any.whl (1.7 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.2.4
Uninstalling pip-21.2.4:
Successfully uninstalled pip-21.2.4
Successfully installed pip-21.3
Collecting pillow
Downloading Pillow-8.4.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
Installing collected packages: pillow
Successfully installed pillow-8.4.0
https://github.com/hugovk/test/runs/3955691250?check_suite_focus=true
What exact command did you use to install Pillow? Please try again with python -m pip
and copy and paste the full output including the command:
python -m pip install pillow
What Ubuntu version?
For various common setups, we distribute binary wheels of Pillow. The previous post is trying to help you to download one of those wheels correctly, and that is the simplest way to install Pillow.
The actual words in the error are saying that it can't find zlib - a required dependency when a wheel can't be found and pip tries to build Pillow from source. If you would like to install zlib, you can do so with apt-get install zlib1g-dev
, and then try again.
@Tony-dot-Frank was any of that helpful?
Hey @radarhere Sorry for the delayed respone... apt-get install zlib1g-dev
Did the job..Thank you.
Pillow installation is not working on ubuntu pip3 version 21.3 python version 3.6.9
The error
Tried
python -m pip install -U --force-reinstall pip
But not working