cannot import name ‘webdriver‘ from ‘selenium‘

最近在学习爬虫,使用selenium来爬取网页,第一次使用 pip install selenium 下载这个模块  。当是我第二天使用就给我报这个错误 ImportError:cannot import name 'webdriver' from 'selenium' 原因也很简单 ,是因为我新建的名称叫selenium.py,导致Python会先导入这个文件,然后再导入标准库里面的seleni
相关文章
相关标签/搜索