安装easy_install工具
使用ez_setup.py脚本方便安装:python
wget
-
q http:
//
peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py
安装完后,最好确保easy_install所在目录已经被加到PATH环境变量里:shell
Windows: C:\Python25\Scripts
Linux:
/
usr
/
local
/
bin
安装 Mechanize 和 BeautifulSoup