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! !! 永久解决!!!
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐



所有评论(0)