又报了这个错,Could not find a version that satisfies the requirement PIL (from versions: none)
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at '/usr/local/bin/python3.7'.
终端安装:
pip3 install PIL 报错:ERROR: Could not find a version that satisfies the requirement PIL (from versions: none)
ERROR: No matching distribution found for PIL
pip3 install Pillow
提示WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x10a463ed0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pillow/
用国内镜像下载:pip3 install --index https://pypi.mirrors.ustc.edu.cn/simple/ gevent==1.4.0
是时候把本地pip指向python3.7了
默认使用Python3后,再pip install Pillow 成功了