from bs4 import BeautifulSoup
提示没有bs4该模块
解决办法:
wget http://www.crummy.com/software/BeautifulSoup/bs4/download/4.3/beautifulsoup4-4.3.2.tar.gz
tar -zxvf beautifulsoup4-4.3.2.tar.gz
cd beautifulsoup4-4.3.2
python setup.py install
from bs4 import BeautifulSoup
提示没有bs4该模块
解决办法:
wget http://www.crummy.com/software/BeautifulSoup/bs4/download/4.3/beautifulsoup4-4.3.2.tar.gz
tar -zxvf beautifulsoup4-4.3.2.tar.gz
cd beautifulsoup4-4.3.2
python setup.py install