![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错集
AnnaLee666
这个作者很懒,什么都没留下…
展开
-
Python中有些误导的报错提示2
安装BeautifulSoup库的时候,用pip install BeautifulSoup4 出现以下报错: ERROR: Could not find a version that satisfies the requirement soupsieve>1.2 (from BeautifulSoup4) (from versions: none) ERROR: No matching distribution found for soupsieve>1.2 (from BeautifulSo原创 2020-09-15 07:38:13 · 338 阅读 · 0 评论 -
Python中有些误导的报错提示1
Python中有些误导的报错提示1 之前新建一个html文档时,系统报错,原来代码如下,我排查了好一段时间,结果,最后发现并不是下面的报错的这个原因,是编码方式问题。 import requests res = requests.get(‘https://localprod.pandateacher.com/python-manuscript/crawler-html/spider-men5.0.html’) print(res.status_code) file = open(‘book.html’,‘w原创 2020-08-16 21:43:11 · 421 阅读 · 0 评论