1.输入命令su,输入root密码,进入root用户
2.执行命令安装pip:
sudo easy_install pip
详细pip介绍:http://blog.csdn.net/olanlanxiari/article/details/48086917
3.用pip安装BeautifulSoup:
pip install BeautifulSoup
sudo easy_install pip
详细pip介绍:http://blog.csdn.net/olanlanxiari/article/details/48086917
pip install BeautifulSoup