python中尝试pip install PIL,出现错误的解决方法
2016-10-30 15:07
671 查看
错误提示:
could not find a version that satisfies the requirement PIL.(form versions:)No matching distribution found for PIL.
解决方法:
1. pip install Pillow
现在已经用pillow替代PIL了,
PIL最多支持的python版本是2.7,
而pillow 版本大于2.1支持python2.6,2.7以及3.x,
相应的原来的import image也由from PIL import Image代替,注意大小写。
2. PIL官方只有32位版本,在度娘直接找64位版本下载即可用!
could not find a version that satisfies the requirement PIL.(form versions:)No matching distribution found for PIL.
解决方法:
1. pip install Pillow
现在已经用pillow替代PIL了,
PIL最多支持的python版本是2.7,
而pillow 版本大于2.1支持python2.6,2.7以及3.x,
相应的原来的import image也由from PIL import Image代替,注意大小写。
2. PIL官方只有32位版本,在度娘直接找64位版本下载即可用!
相关文章推荐
- 【Python】使用pip install时出现UnicodeDecodeError错误解决方法
- 【Python】使用pip install时出现UnicodeDecodeError错误解决方法
- Python pip install出现报ASCII码错误解决办法
- mono 3.4.0 make install的时候出现"找不到 Microsoft.Portable.Common.targets 文件”的错误提示解决方法
- Unix系统安装MySQL-python出现UnicodeDecodeError错误解决方法
- linux下pip安装mysql-python的错误解决方法
- 在 Mac 中安装 MySQLdb (Python mysql )出现“mysql_config not found”错误的解决方法
- Python在cmd中用easy_install django导入时出现错误,待解决
- Ubuntu - 运行 apt-get install 就出现jdk installer 错误的解决方法
- android 真机调试出现错误 INSTALL_FAILED_INSUFFICIENT_STORAGE 的解决方法。
- Genymotion出现Installation error: INSTALL_FAILED_CPU_ABI_INCOMPATIBLE错误解决方法
- 【随笔记录】python 处理中文时出现的错误'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)" 解决方法
- 安装tomcat出现failed to install tomcat6 service错误及解决方法(转载)
- 新建ASP.NET项目时出现错误的解决方法(尝试创建WEB项目...)
- pydev python Ŀ "Unresolved import:"出现错误的解决方法
- python 处理中文时出现的错误'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)" 解决方法
- 尝试调试 ASP.NET Web 应用程序时出现权限错误的解决方法
- Linux 运行 apt-get install 就出现jdk installer 错误的解决方法
- python处理字符串时出现的错误'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)" 解决方法
- 安装apk时出现错误Failure [INSTALL_FAILED_DEXOPT]问题解决的方法