Beautiful Soup下載鏈接:http://www.crummy.com/software/BeautifulSoup/download/4.x/
有多個版本可供選擇
解壓後通過 setup.py 來安裝
打開 cmd, 輸入: cd + setup.py 文件路徑
我的文件路徑是:
C:\Users\27511\Desktop\beautifulsoup4-4.1.0\beautifulsoup4-4.1.0
>>> 所以我輸入
cd C:\Users\27511\Desktop\beautifulsoup4-4.1.0\beautifulsoup4-4.1.0
再輸入 Python setup.py install , 命令行即可
Python setup.py install
大概 5s 左右就安裝成功
Beautiful Soup使用文檔: https://beautifulsoup.readthedocs.io/zh_CN/v4.4.0/#id8