pip安装,报错:Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple ERROR
pip 安装依赖库报错
pip install google-cloud-translate
Error:
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement mediapipe (from versions: none)
ERROR: No matching distribution found for google-cloud-translate
常见的解决方法:
-
关 VPN 代理
-
临时方案:加豆瓣源
pip install google-cloud-translate -i https://pypi.doubanio.com/simple
但治标不治本,每次都要加,很麻烦
- 修改 pip 配置文件
vim ~/.config/pip/pip.conf
调整为:
[global]
index-url = https://pypi.org/simple
OK! !! 永久解决!!!
原文地址:https://blog.csdn.net/dare_kz/article/details/144116261
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!