Traceback (most recent call last): in from baike_spider import html_downloader, html_parser, html_outputer, url_manager
Traceback (most recent call last): =========》第一个问题
File "/Users/sherry/Downloads/baike_spider-master/baike_spider/sider_main.py", line 2, in <module>
from baike_spider import html_downloader, html_parser, html_outputer,\
File "/Users/sherry/Downloads/baike_spider-master/baike_spider/html_parser.py", line 2, in <module>
from bs4 import BeautifulSoup
ImportError: No module named bs4
ImportError: No module named bs4 ============》 第二个问题:明明下载了bs4
xunie-Mac:~ sherry$ pip install BeautifulSoup4
Requirement already satisfied: BeautifulSoup4 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages