赞
踩
例如在安装 Python 包的时候,有时会出现这种情况:
ERROR: Could not find a version that satisfies the requirement bokeh (from versions: none)
ERROR: No matching distribution found for bokeh
例如还有:
ERROR: Could not find a version that satisfies the requirement torndb (from versions: none)
ERROR: No matching distribution found for torndb
python -m pip install --upgrade pip
pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.douban.com
常见 pip 国内镜像源:
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
https://blog.csdn.net/weixin_40267472/article/details/130750011
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。