python3.4,使用pip3 install pillow报以下错误:python
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.logui
这时候须要更新下pip版本:spa
sudo python3 -m pip install --upgrade pipdebug
再使用上面的命令安装就提示成功了。code
可是在PyCharm中使用时,from PIL import image仍是不行ip
接下来,咱们点开file->settings->project interpreter,双击pip,搜索pillow,点击pillow,左下角会有install,安装成功便可。it