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 BeautifulSoupImportError: No module named bs4ImportError: No module named bs4 ============》 第二個問題:明明下載了bs4xunie-Mac:~ sherry$ pip install BeautifulSoup4Requirement already satisfied: BeautifulSoup4 in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
按照教程寫完了,但是運行出錯,Traceback (most recent call last):
xueying234
2017-12-10 21:13:05