1. pip指定信任镜像源
pip install xlrd -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
2. pip设置默认信任镜像源
永久設置阿里云的国内源
pip config set global.trusted-host mirrors.aliyun.com
pip config set global.index-url https://mirrors.aliyun.com/simple
3. whl 文件安装
pip install ****.whl
补充:
问题一:
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools>=40.0')