python2.7安装beautifulsoup包
准备条件:
1.已经安装好python2.7
2.下载beautifulsoup包,选择合适的包,网址:https://www.crummy.com/software/BeautifulSoup/bs4/download/4.5/
3.将其解压到python的安装目录下:(笔者的目录为C:\Python27)
4.打开cmd命令行,输入命令
cd C:\Python27\beautifulsoup4-4.5.0 (即进入到C:\Python27\beautifulsoup4-4.5.0的目录下)
python setup.py build
python setup.py install