from bs4 import BeautifulSoupTraceback (most recent call last):? File "<pyshell#1>", line 1, in <module>??? from bs4 import BeautifulSoup? File "D:\Python\lib\site-packages\bs4\__init__.py", line 29, in <module>??? from .builder import builder_registry? File "D:\Python\lib\site-packages\bs4\builder\__init__.py", line 294, in <module>??? from . import _htmlparser? File "D:\Python\lib\site-packages\bs4\builder\_htmlparser.py", line 7, in <module>??? from html.parser import (ImportError: cannot import name 'HTMLParseError'?還有想問問大家安裝ps4的時候用的都是哪個版本的python?。。?!
1 回答

無無法師
TA貢獻5條經(jīng)驗 獲得超0個贊
Python3.6,python3.5,python2.7我都用。在anaconda里面配置python虛擬環(huán)境非常簡單,3個版本一起跑沒有問題
添加回答
舉報
0/150
提交
取消