报错信息:

D:\pythontest\duanxinhongzha>pip3 install pillow
Collecting pillow
Could not find a version that satisfies the requirement pillow (from versions:)
No matching distribution found for pillow

错误原因:1.后来找了很多方法,发现我的电脑是64位的,而官网只提供32位的,就是自己去官网下载的其他PIL
     2.没有对应的版本,我python 3.5.0

解决方法:找一个非官方的64位大家通用的PIL安装

(1)打开网址 http://www.lfd.uci.edu/~gohlke/pythonlibs/

(2)搜索PIL(ctrl+F),找到下面的图片所示,如果你的python是2.7版本就下载cp27的,3.5就下载cp35

然后,使用命令 pip3 install path\文件名  安装即可

(3) 直接安装其他版本

得去https://pypi.org/查询pillow有哪些版本,且哪些版本支持的你python版本

D:\pythontest\duanxinhongzha>pip3 install Pillow==5.0.
Collecting Pillow==5.0.
Downloading https://files.pythonhosted.org/packages/f6/02/9d98b5bc4535ad4e03ae
da9e529e7d925a569ad4e47883ee093364b6e086/Pillow-5.0.-cp35-cp35m-win_amd64.whl (
.6MB)
% |███████████▌ | 563kB .4MB/s eta ::
% |█████████████ | 634kB 461kB/s eta ::
% |████████████████ | 778kB .2MB/s eta :
% |████████████████ | 788kB .1MB/s eta :
% |████████████████▌ | 798kB .3MB/s eta :
% |████████████████▌ | 808kB .4MB/s eta :
% |███████████████████ | 931kB 441kB/s eta
% |███████████████████ | 942kB 446kB/s eta
% |███████████████████▌ | 952kB 436kB/s eta68
% |███████████████████████ | .1MB 504kB/s75
% |████████████████████████▌ | .2MB 458kB/
% |██████████████████████████ | .3MB .6MB
% |██████████████████████████▌ | .3MB 1.6M
% |███████████████████████████ | .3MB 1.3M
% |███████████████████████████ | .3MB 1.6M
% |████████████████████████████ | .4MB
% |████████████████████████████ | .4MB
% |████████████████████████████▌ | .4MB
% |█████████████████████████████ | .4MB
% |█████████████████████████████ | .4MB
% |█████████████████████████████ | .4MB
% |█████████████████████████████ | .4MB
% |██████████████████████████████ | .5MB
% |██████████████████████████████▌ | .5MB
% |██████████████████████████████▌ | .5MB
% |███████████████████████████████ | .5MB
% |███████████████████████████████ | .5MB100
% |████████████████████████████████| 1.6M
B .3MB/s
Installing collected packages: Pillow
Successfully installed Pillow-5.0.

Python pillow库安装报错的更多相关文章

  1. 【python】pip安装报错UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 7: ordinal not in range(128)

    刚安装完python,准备pip安装第三方库的时候出现了一个错误: UnicodeDecodeError: ‘ascii’ code can’t decode byte 0xef in positio ...

  2. Python中pip安装报错Unable to create process using '....'

    因为我本人在电脑上安装了python2和python3,所以在安装的时候,把两个python的安装目录都安装到G盘了.然后两个python的执行文件分别改成了 python2.exe 和  pytho ...

  3. Python——pip安装报错:is not a supported wheel on this platform

    pip安装报错:is not a supported wheel on this platform 可能的原因1:安装的不是对应python版本的库,下载的库名中cp35代表python3.5,其它同 ...

  4. 安装监控MongoDB的Python安装包时候报错:HTTP Error 403: SSL is required

    安装pymongo-2.3.tar.gz,执行命令python setup.py install报错: HTTP Error 403: SSL is required 分析原因:安装需要下载这个dis ...

  5. python3.4学习笔记(八) Python第三方库安装与使用,包管理工具解惑

    python3.4学习笔记(八) Python第三方库安装与使用,包管理工具解惑 许多人在安装Python第三方库的时候, 经常会为一个问题困扰:到底应该下载什么格式的文件?当我们点开下载页时, 一般 ...

  6. pip安装报错处理+PyPi源切换教程

    一.pip安装出错类型 1.1 pip版本过旧导致不能安装 报错提示: You are using pip version 9.0.3, however version 10.0.1 is avail ...

  7. yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between

    yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-f ...

  8. 使用pip安装报错的处理方法

    在新的机子上使用pip安装程序一直报错: Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connect ...

  9. Scrapy安装报错

    python3 pip 安装Scrapy在win10 安装报错error: Microsoft Visual C++ 14.0 is required. Get it with "Micro ...

随机推荐

  1. 解决ubuntu终端路劲显示过长问题

    1 找到配置文件先进行备份:  cp  ~/.bashrc  ~/.bashrc-bak 2 找到配置文件修改: vi  ~/.bashrc 备份是为了防止配置修改出错,可以还原 3 在以下的红色位置 ...

  2. laravel写crontab定时任务(发送邮件)和laravel crontab不执行的问题

    1.artisan命令: php artisan make:command SendRejectEmail 2.app/Console/Commands下就会看到SendRejectEmail.php ...

  3. 什么是平衡树B-Tree?【转】

    转载自:https://www.cnblogs.com/dongguacai/p/7239599.html#commentform B-Tree就是我们常说的B树,一定不要读成B减树,否则就很丢人了. ...

  4. leetcode-第14周双周赛-1271-十六进制魔术数字

    自己的提交: class Solution: def toHexspeak(self, num: str) -> str: num = hex(int(num)) num = str(num)[ ...

  5. selenium基本元素定位-findElement(By.*)

    selenium基本元素的定位和操作 一. 查找元素 1.1 findElement(By.id) // by——>定位器——>以某种方式去找元素 driver.findElement(b ...

  6. d3js 折线图+柱图

    <!DOCTYPE html> <html> <body> <div id="vis"><svg></svg> ...

  7. input select 值得绑定与获取

    <div style="margin-top:100px"> <!--Input 值得绑定--> <div id="app20"& ...

  8. javascript实现获取指定精度的上传文件的大小简单实例

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...

  9. html标签中的 MIME 类型

    1.<script type="text/x-template">  MIME 类型 2.MIME类型是什么 : http://www.w3school.com.cn/ ...

  10. jQuery选择器 (详解)

    1. 基础选择器 Basics 名称 说明 举例 #id 根据元素Id选择 $("divId") 选择ID为divId的元素 element 根据元素的名称选择, $(" ...