2021-03-11
閱讀量:
461
pip執(zhí)行命令指定鏡像源時(shí)警告提示:The repository located at mirrors. aliyun.
問(wèn):
pip執(zhí)行命令指定鏡像源時(shí)警告提示:
The repository located at mirrors. aliyun. com is not a trusted or secure host and is being ignored.
答:
這是因?yàn)樵撾娔X將此命令中指定的鏡像源識(shí)別為不信任地址,無(wú)法繼續(xù)下面的操作,解決方法是在原來(lái)的更新代碼后面加上命令:
‘trusted-host mirrors. al iyun. com’設(shè)置此鏡像源為信任地址,注意pip命令之間要用空格分隔開。






評(píng)論(0)


暫無(wú)數(shù)據(jù)
CDA考試動(dòng)態(tài)
CDA報(bào)考指南
推薦帖子
0條評(píng)論
0條評(píng)論
0條評(píng)論