各位前輩好,我剛開始學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)