Beautiful Soup支持python2,对python3支持不好。 去网站http://www.crummy.com/software/BeautifulSoup/上下载Beautiful Soup解压缩到本地硬盘上运行“setup.py build”和“setup.py install”