python2.7安裝beautifulsoup包python
準備條件:python2.7
1.已經安裝好python2.7ui
2.下載beautifulsoup包,選擇合適的包,網址:https://www.crummy.com/software/BeautifulSoup/bs4/download/4.5/spa
3.將其解壓到python的安裝目錄下:(筆者的目錄爲C:\Python27)命令行
4.打開cmd命令行,輸入命令3d
cd C:\Python27\beautifulsoup4-4.5.0 (即進入到C:\Python27\beautifulsoup4-4.5.0的目錄下)blog
python setup.py build get
python setup.py installcmd