Python 如何安装和使用beautifulsoup4

Python 如何安装和使用beautifulsoup4,python,python-3.x,beautifulsoup,Python,Python 3.x,Beautifulsoup,我想在python3.4.3(windows 7)上使用BeautifulSoup。我用cmd.exe安装了它。但是当我尝试导入它时,我得到一个错误,没有名为BeautifulSoup或BeautifulSoup4的模块 你能帮帮我吗?我就是这样安装的beautifulsoup4: C:\Python34\Scripts\pip.exe install beautifulsoup4 模块名为bs4: from bs4 import BeautifulSoup 确保您使用的是Beautiful

我想在python3.4.3(windows 7)上使用BeautifulSoup。我用cmd.exe安装了它。但是当我尝试导入它时,我得到一个错误,没有名为
BeautifulSoup
BeautifulSoup4
的模块

你能帮帮我吗?我就是这样安装的
beautifulsoup4

C:\Python34\Scripts\pip.exe install beautifulsoup4

模块名为
bs4

from bs4 import BeautifulSoup
确保您使用的是BeautifulSoup版本4,它列出了如下详细信息


是的,项目名称(
beautifulsoup4
)与您导入的模块不同

你是否已经通读了你将要使用的模块中的第一个示例?考虑将来做这件事。