Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\_123\ddd.py", line 2, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
我猜你用的是vim编辑器,就像我一样!不然我复制到txt里面,不能自动换行 作者: xiaomm250 时间: 2019-04-23 14:18
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\_123\张三.py", line 31, in <module>
main()
File "C:\Users\Administrator\Desktop\_123\张三.py", line 24, in main
getRegNum()
File "C:\Users\Administrator\Desktop\_123\张三.py", line 18, in getRegNum
s = BeautifulSoup(r.text,"lxml")
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\bs4\__init__.py", line 196, in __init__
% ",".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?