无法在python2.7
问题描述:
安装枕头我想在Python 2.7安装的枕头却是露出下面的错误无法在python2.7
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0ffab30f90>, 'Connection to 192.168.5.254 timed out. (connect timeout=15)')': /simple/pil/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0ffab30f10>, 'Connection to 192.168.5.254 timed out. (connect timeout=15)')': /simple/pil/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0ffab30e10>, 'Connection to 192.168.5.254 timed out. (connect timeout=15)')': /simple/pil/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0ffab30090>, 'Connection to 192.168.5.254 timed out. (connect timeout=15)')': /simple/pil/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f0ffaab7050>, 'Connection to 192.168.5.254 timed out. (connect timeout=15)')': /simple/pil/
Could not find a version that satisfies the requirement PIL (from versions:)
No matching distribution found for PIL
答
下载并为Python 2
https://pypi.python.org/packages/2.7/P/Pillow/Pillow-2.5.3.win-amd64-py2.7.exe#md5=33c3a581ff1538b4f79b4651084090c8
下载cImage.py安装枕头来自Github
Navigate to https://github.com/bnmnetp/cImage
Click cImage.py, and click the button labeled Raw to see the contents of the file.
Click File > Save Page As (Chrome & Firefox) or File > Save As (Safari) to save the file on your computer.
Copy “cImage.py” from where you saved it to C:\Python27\Lib\site-packages and C:\Python34\Lib\site-packages\
你使用了什么命令? – C8H10N4O2
你是怎么安装它的?点子?康达?运行粗略的可执行文件? – Kevin
@Kevin我用pip安装枕头 – pratibhamenon