问题:
centos安装了python3后出现 pip3无法使用,无论是重新安装都无法使用。具体错误信息如下:
解决办法:
增加pip3的源:
创建文件,~/.pip/pip.conf 增加内容:
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
成功运行:
问题:
centos安装了python3后出现 pip3无法使用,无论是重新安装都无法使用。具体错误信息如下:
解决办法:
增加pip3的源:
创建文件,~/.pip/pip.conf 增加内容:
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
成功运行: