我尝试运行以下代码,但出现错误Beautifulsoup is not a module
:
import urllib
from Beautifulsoup import BeautifulSoup
webpage = urlopen('http://en.wikipedia.org/wiki/Mathematics').read
patfinderTitle = re.compile('<title>(.#)</title>')
if __name__=='__main__': main()
我试过'从 bs4',使用 Easy_install、Python 2.7、BeautifulSoup 3.2.1,我该怎么办?