During handling of the above exception, another exception occurred
During handling of the above exception, another exception occurred
jupyter 报错,显示:
During handling of the above exception, another exception occurred,
这是由于频繁访问网站或请求造成的,可以通过更换国内源的方法来解决此问题。示例如下:
pip install scrapy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
其中-i指向要更换的国内源。
–trusted-host也是有必要的,否则会因为douban.com不被信任而报错。
最后附上pip国内的一些镜像:
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
