码迷,mamicode.com
首页 > 其他好文 > 详细

pip3安装Pillow错误的问题

时间:2019-04-23 17:14:42      阅读:294      评论:0      收藏:0      [点我收藏+]

标签:fail   双击   inf   and   ret   pip   python3   root   --   

python3.4,使用pip3 install pillow报如下错误:

Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-jmgsf0_x/pillow
Storing debug log for failure in /root/.pip/pip.log

这时候需要更新下pip版本:

sudo python3 -m pip install --upgrade pip

再使用上面的命令安装就提示成功了。

但是在PyCharm中使用时,from PIL import image还是不行

接下来,我们点开file->settings->project interpreter,双击pip,搜索pillow,点击pillow,左下角会有install,安装成功即可。

pip3安装Pillow错误的问题

标签:fail   双击   inf   and   ret   pip   python3   root   --   

原文地址:https://www.cnblogs.com/duduniya/p/10755063.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!