这是错误:
xmlrpc.client.Fault: <Fault -32500: “RuntimeError: PyPI’s XMLRPC API has been temporarily disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.”>
在此之前,我已经添加了永久的添加了清华的数据源,但是还是出现了这个问题,我也不知道为什么,如果有知道的大佬,欢迎大家在评论区留言。
以下是我的解决方法:
pip国内的一些镜像
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
自己手动指定数据源,问题解决:
pip install PyEmail -i https://pypi.tuna.tsinghua.edu.cn/simple
我在网上也看到这种可能,
如:
pip install smtplib
直接出错,这是因为库里面没有,而是一些相关的库
可以先运行下面的代码,