解决办法:更换镜像源为阿里云:
step1:在/etc/profile环境变量,中追加如下内容
export PIP_INDEX_URL=http://mirrors.aliyun.com/pypi/simple
然后生效:source /etc/profile
step2:更改pip源地址
mkdir -p ~/.pip && vim ~/.pip/pip.conf
[global]
index-url = https://mirrors.aliyun.com/pypi/simple
[install]
trusted-host = mirrors.aliyun.com
再次安装后即可成功!