快捷导航

mportError: cannot import name 'beautifulsoup'?应如何处理?

C:\Users\lenovo\PycharmProjects\untitled\venv\Scripts\python.exe C:/Users/lenovo/PycharmProjects/untitled/beautifulsoup.pyTraceback (most recent call last): File "C:/Users/lenovo/PycharmProjects/untitled/beautifulsoup.py", line 1, in   from bs4 import beautifulsoupImportError: cannot import name 'beautifulsoup'Process finished with exit code 1

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

参与会员2

区分大小写
frombs4importBeautifulSoup你是想这样子的吧
回复

使用道具 举报

安装库,重新导入
回复

使用道具 举报

可能感兴趣的问答

发新帖
TA的信息
  • 会员所属: 注册会员
  • 认证信息: 邮箱认证手机认证
  • 微信访问
  • 手机APP