Python: ImportError: cannot import name 'BeautifulSoup'
2016-10-13 10:27
751 查看
在使用 bs4时遇到这个问题,博客看了一大堆,卸载重装好几遍,最后的问题是,我的文件名叫做 bs4.py,然后好像 python 就懵逼了,改了文件名就特么好了,如果你遇见这个问题,常规的解决都不行,你可以试试这个
相关文章推荐
- python导入词云包失败:ImportError:cannot import name ‘WordCloud’的解决办法
- python selectivesearch import Error:cannot import name 'selective_search'
- 解决bs4在Python 3.5下出现“ImportError: cannot import name 'HTMLParseError'”错误
- Python: ImportError: cannot import name __check_buil
- 微软LightGBM Windows下Python安装:ImportError: cannot import name NUMPY_MKL
- Python ImportError: cannot import name 'MongoClient'
- carbon报错 Python Error - ImportError: cannot import name daemonize
- 关于python "ImportError: cannot import name quotes_historical_yahoo" 问题
- python使用scipy.misc import imread报错:ImportError: cannot import name imread
- Python ImportError: cannot import name *
- 解决bs4在Python 3.6下出现“ImportError: cannot import name 'HTMLParseError'”错误
- Fixing ImportError: cannot import name ‘urlencode’ in Python3
- python安装配置Theano ImportError:cannot import name 'configparser'
- Python模块Scrapy导入出错:ImportError: cannot import name xmlrpc_client
- Python Error: ImportError: cannot import name gof
- ubuntu 16.04 ros kinetic Moveit Python: ImportError: cannot import name structs
- 网络爬虫在Python 3.5下出现“ cannot import name 'HTMLParseError'”错误解决办法
- Python——报错:ImportError: cannot import name requests
- 关于python "ImportError: cannot import name quotes_historical_yahoo" 问题
- python scrapy cannot import name xmlrpc_client的解决方案,解决办法