如何安装和使用beautifulsoup4
How to install and use beautifulsoup4
我想在 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 使用 correct documentation,它会列出如下详细信息。
是的,项目名称(beautifulsoup4
)与您导入的模块不同!
我想在 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 使用 correct documentation,它会列出如下详细信息。
是的,项目名称(beautifulsoup4
)与您导入的模块不同!