我在virtualenv中运行pip install Pillow == 2.9.0时出现以下错误:错误:解压缩数据时出现错误-5:不完整或截断的流
其他软件包安装/卸载很好,它似乎只影响Pillow 2.9.0.我所处的(或不是)是什么艺术家似乎并不重要.
下载源tarball并从中安装,但由于这是在构建服务器上,这不是一个理想的解决方法因为我想依赖pip install -r requirements.txt
版本:
> pip –version:来自/usr/local/lib/python2.7/site-packages(python 2.7)的pip 7.1.0
> python –version:Python 2.7.10
完整的追溯是:
Collecting Pillow==2.9.0
/mnt/jenkins/jobA/workspace/.pyenv/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Exception:
T