作者jamesxxx1997 (黄~)
看板Python
标题[问题]已下载beautifulsoup4,但无法在idle载入
时间Wed Oct 25 16:00:22 2017
各位大大好,我在桌面安装了anaconda,放在名为OAO的资料夹中
在图中,我已经成功安装了bs4和beautifulsoup4,但是在Python互动式直译器中
,可以import bs4,却无法from bs4 import beautifulsoup4
请问应该怎麽解决呢?
谢谢~
PS.
1. 作业环境 : Win10
2. 曾经有安装过Python3.62,後来删掉资料夹
3. 截图
<这是我在互动式直译器的截图
https://imgur.com/a/FBswK>
<这是我在档案总管中的截图
https://imgur.com/a/nzNyz>
<这是我在command line的截图
https://imgur.com/a/dyVsP>
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.128.67.196
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1508918424.A.A81.html
1F:→ bluecadence: from bs4 import BeautifulSoup ? 10/25 17:13
2F:→ jamesxxx1997: 哇哇哇成功了,谢谢b大 10/26 12:12
3F:→ jamesxxx1997: 不过为甚麽beautifulsoup4不能import呢~ 10/26 12:13
4F:推 legendmtg: 人家class name就叫BeautifulSoup啊 10/26 15:05
5F:→ jamesxxx1997: 喔喔...一直以为他的class name是beautifulsoup4 10/26 15:26
6F:→ jamesxxx1997: 谢谢l大 10/26 15:27