Python的beautifulSoup 安装和中文文档网址
2017-09-08 08:38
363 查看
Python的beautifulSoup 教程网址:https://www.crummy.com/software/BeautifulSoup/bs4/doc.zh/index.html
用python3写了个网页爬虫,使用到BeautifulSoup4模块,结果显示
File “./title.py”, line 7, in
from bs4 import BeautifulSoup
ImportError: No module named ‘bs4’
我使用下面的命令安装的啊,但是任然出现上面的问题
pip3 install beautifulsoup4
For python2.x:
2
For python3:
2
https://www.crummy.com/software/BeautifulSoup/bs4/doc.zh/
一.问题描述
用python3写了个网页爬虫,使用到BeautifulSoup4模块,结果显示File “./title.py”, line 7, in
from bs4 import BeautifulSoup
ImportError: No module named ‘bs4’
我使用下面的命令安装的啊,但是任然出现上面的问题
pip3 install beautifulsoup4
二.解决办法
For python2.x:sudo pip install BeautifulSoup41
2
For python3:
sudo apt-get install python3-bs41
2
三.中文参考文档
https://www.crummy.com/software/BeautifulSoup/bs4/doc.zh/
相关文章推荐
- Python2.7 安装 bs4( beautifulsoup)
- Boost.Python中文文档下载
- Windows环境下安装beautifulsoup4出现 'You are trying to run the Python 2 version of Beautiful Soup ....错误
- Wim10系统python3.6如何安装beautifulsoup 4-4.6.0
- python3读中文文档报错:UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in ...
- Gauge中文文档(1)—安装
- java JDK1.6 API中文帮助文档、机器学习资料网址、SQL语句学习资料J
- gvim安装中文文档
- python 安装 BeautifulSoup 与问题
- 【scikit-learn 0.19 中文文档 】安装 scikit-learn | ApacheCN
- Tess4j+中文识别+使用介绍文档+参考网址+实现源码下载地址
- Python爬虫包 BeautifulSoup 学习(一) 简介与安装
- python 安装包 如果遇到问题可以参考下面的网址下载whl文件安装
- 基于windows10系统Python web开发相关安装文档
- Python windows 平台下安装BeautifulSoup
- jBPM 7.5中文文档——jBPM安装程序
- linux安装中文帮助文档
- 【Python】BeautifulSoup文档(windows-pyhton2.7.10)
- Ubuntu系统中安装vim的中文帮助文档
- 用python + openpyxl处理excel(07+)文档 + 一些中文处理的技巧