Python笔记——pycharm第三方模块PIL安装失败
2018-03-28 10:38
676 查看
前提:在pycharm上安装PIL(Python Image Library):setting->project interpreter->+
结果显示:
提示——Could not find a version that satisfies the requirement PIL (from versions: )No matching distribution found for PIL
错误原因:
现在已经用Pillow代替PIL,PIL较多用于2.7版本的Python中
解决方案:
pip install Pillow
备注:
1、升级pip,安装该第三方模板后,引入时也有原来的:import image变为:from PIL import Image
2、安装python时要勾选pip和Add python.exe to Path
3、第三方库查询: pypi.python.org
结果显示:
提示——Could not find a version that satisfies the requirement PIL (from versions: )No matching distribution found for PIL
错误原因:
现在已经用Pillow代替PIL,PIL较多用于2.7版本的Python中
解决方案:
pip install Pillow
备注:
1、升级pip,安装该第三方模板后,引入时也有原来的:import image变为:from PIL import Image
2、安装python时要勾选pip和Add python.exe to Path
3、第三方库查询: pypi.python.org
相关文章推荐
- Python——第三方模块PIL安装失败
- Python安装第三方库PIL时失败的解决办法
- Python:Pycharm下无法导入安装好的第三方模块?
- Python笔记6——模块的使用和路径,别名,作用域,安装第三方库
- Python笔记6——模块的使用和路径,别名,作用域,安装第三方库
- Python安装第三方库PIL时失败的解决办法
- Python学习笔记(十四)安装第三方模块
- pyCharm中安装第三方python模块(比如bs4)
- Python学习笔记011_模块_标准库_第三方库的安装
- Python笔记——使用Pycharm安装Python第三方库
- 关于Python pip 安装第三方模块失败
- Python学习笔记(四十二)第三方模块(PIL)图像处理
- python 如何安装第三方模块module
- 安装第三方模块时遇到Python version 2.7 required, which was not found
- python学习笔记(sqlalchemy安装失败)
- Python学习常用第三方模块:PIL,生成验证码
- python笔记-模块发布及安装
- 安装python的第三方模块
- python安装第三方模块UnicodeDecodeError:'ascii' codec can't decode byte ···
- Pycharm安装pip pip安装第三方模块