pillow jpeg is required unless explicitly disabled using --disable-jpeg

ubuntu 安装 pillow 报错


pip install Pillow

ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting
解决(官方文档解决, https://pillow.readthedocs.org/en/3.0.0/installation.html#linux-installation)
sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev \
    libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk


你可能感兴趣的:(python,pillow,--disable-jpeg)