各位前辈好,我刚开始学python想爬网页资料,但在VS code 环境上一直有Error
请问可能是什么问题?
环境 Windows 10、python 3.6.4
已于CMD pip install 下列
beautifulsoup4.cycler.matplotlib.numpy.pyparsing.
python-dateutil.pytz.request.six
程式一:CMD可执行、VS code 报错 no module named 'html.entities'
https://imgur.com/d6oEodc
import requests
url = '任意网址'
response = requests.get(url)
print(response.text)