问题如下: 出现国内源无法访问的情况,只需要将http变成https即可。 操作如下: 1.win+r打开运行界面,输入%APPDATA% 2.搜索pip 3.将文件夹中的pip.ini文件以记事本打开,然后修改即可。 参考: (13条消息) The repository located at pypi.tuna.tsinghua.edu.cn is not a trusted or secure host 的解决办法_IPAlab的博客-CSDN博客