国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > Python > 正文

CentOS安裝pillow報錯的解決方法

2020-01-04 17:48:13
字體:
來源:轉載
供稿:網友
本文給大家分享的是作者在centos下為Python安裝pillow的時候報錯的解決方法,希望對大家能夠有所幫助。
 

安裝pillow出現以下問題:

ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting----------------------------------------Cleaning up...Command /usr/local/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('/r/n', '/n'), __file__, 'exec'))" install --record /tmp/pip-SviNMc-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/pillowStoring debug log for failure in /root/.pip/pip.log

StackOverflow:
http://stackoverflow.com/questions/34631806/fail-during-installation-of-pillow-python-module-in-linux

解決:

sudo yum install python-develsudo yum install zlib-develsudo yum install libjpeg-turbo-devel

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 惠水县| 博兴县| 永靖县| 怀远县| 海兴县| 徐汇区| 驻马店市| 扶绥县| 北海市| 南投市| 林州市| 安康市| 临高县| 正宁县| 辽阳县| 都昌县| 常宁市| 华宁县| 洛川县| 榕江县| 中方县| 衡南县| 兴城市| 板桥市| 浪卡子县| 宁明县| 和硕县| 桂平市| 沙田区| 新乡县| 江安县| 庄河市| 崇仁县| 洱源县| 勃利县| 建阳市| 荣昌县| 郯城县| 靖宇县| 屏东县| 浦城县|