以安裝Beautifulsoup4爲例:python
1.到網站上下載:http://www.crummy.com/software/BeautifulSoup/bs4/download/測試
2.解壓文件到C:\Python27網站
3.cmd運行C:\Python27\BeautifulSoup>python setup.py installui
4.注意庫名:creating build\lib\bs4spa
5.測試一下是否能導入:orm
>>> import bs4get
若是不能導入,會提示:ImportError: No module named bs4cmd