我在我的Mac上安装了BeautifulSoup,使用的是easy_install,没有任何错误,我也可以完美地运行test.py文件。/test.py", line 54, in <module>ImportError: No module namedBeautifulSoup
我在第54行中只有from BeautifulSoup import BeautifulSoup<
我使用以下命令安装了BeautifulSoup:我收到消息:Best matchactive version in easy-install.pth
Using /Library/Python/2.6/site-packages/beautifulsoup4-4.1.3-py2.6(most recent call last):
我在/usr/bin/python中有原始的python2.7.5,我通过在/usr/local/bin/python3中下载python3.5.1包安装了Python3,然后我安装了BeautifulSoup4,如下所示:Searching for BeautifulSoup4
Best match: be