ImportError: No module named BeautifulSoup
我已经试过了easy_intall
,python setup.py install
都不管用。即使我安装了 BeautifulSoup,我仍然遇到同样的错误。
我已经从 python.org 预安装了 python 2.7.2 和 python 2.7 和 3.2。
我根据终端在python 2.7的目录下安装了soup,如下。
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/beautifulsoup4-4.0.3-py2.7.egg-info
Writing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/beautifulsoup4-4.0.3-py2.7.egg-info