error when install pillow - Raspberry Pi Forums


dear ,

got error when try install pillow , error :
---------------------------------------------------------------------------------------------------------------
root@raspberrypi:/home/pi# sudo pip install pillow

downloading/unpacking pillow
running setup.py egg_info package pillow
single threaded build, not installing mp_compile:1 processes

warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching '.travis'
warning: no previously-included files found matching '.travis/*'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution

......

traceback (most recent call last):

file "<string>", line 1, in <module>

file "/home/pi/build/pillow/setup.py", line 788, in <module>

raise requireddependencyexception(msg)

__main__.requireddependencyexception:


headers or library files not found jpeg,

required dependency when compiling pillow source.


please see install instructions at:

https://pillow.readthedocs.io/en/latest ... ation.html
----------------------------------------
command /usr/bin/python -c "import setuptools;__file__='/home/pi/build/pillow/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-ur7plp-record/install-record.txt failed error code 1 in /home/pi/build/pillow
storing complete log in /root/.pip/pip.log
--------------------------------------------------------------------------------------------------------

should can install pillow??
thanks
appreciated ,

have installed pre-requisite stuff libjpeg-dev?
https://pillow.readthedocs.io/en/latest ... -libraries

use sudo pip install --upgrade --force-reinstall pillow encourage pip use external libraries.


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'