Traceback (most recent call last): File "C:/Users/Lenovo/Desktop/毕设/boss直聘数据可视化分析/spider/spiderMain.py", line 217, in <module> spiderObj.main(page=1) File "C:/Users/Lenovo/Desktop/毕设/boss直聘数据可视化分析/spider/spiderMain.py", line 33, in main brower = self.startBrower() File "C:/Users/Lenovo/Desktop/毕设/boss直聘数据可视化分析/spider/spiderMain.py", line 27, in startBrower browser = webdriver.Chrome(service=s, options=option) File "D:\python\install\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 80, in init super().init( File "D:\python\install\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 104, in init super().init( File "D:\python\install\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 286, in init self.start_session(capabilities, browser_profile) File "D:\python\install\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 378, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "D:\python\install\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 440, in execute self.error_handler.check_response(response) File "D:\python\install\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace)这个错误是什么意思
时间: 2023-07-21 17:53:21 浏览: 139
Mac下anaconda中Spyder打开报错Traceback(most recent call last)…问题
5星 · 资源好评率100%
这个错误是通过 Python 的 Selenium 模块调用 Chrome 浏览器时出现的异常。可能的原因包括:
1. Chrome 浏览器未正确安装或未正确配置
2. Chrome 驱动程序未正确配置或未正确安装
3. Chrome 浏览器版本与 Chrome 驱动程序版本不匹配
4. 其他系统或网络问题导致 Selenium 无法正常与浏览器通信
您可以检查以上问题并尝试解决它们,或者将问题的详细信息反馈给相关人员以获取更好的帮助。
阅读全文