2020-09-16
阅读量:
908
pip执行命令指定镜像源时警告提示:The repository located at mirrors. aliyun. com is not a trusted
问:
pip执行命令指定镜像源时警告提示:
The repository located at mirrors. aliyun. com is not a trusted or secure host and is being ignored.
答:
这是因为该电脑将此命令中指定的镜像源识别为不信任地址,无法继续下面的操作,解决方法是在原来的更新代码后面加上命令:
‘trusted-host mirrors. al iyun. com’设置此镜像源为信任地址,注意pip命令之间要用空格分隔开。






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论