最终对我有用的是添加新pypi路由中的所有域。
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org <package>
也可以在pip.ini文件中进行设置。

最终对我有用的是添加新pypi路由中的所有域。
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org <package>
也可以在pip.ini文件中进行设置。