求大神支招,我系统报错,不能运 行selenium这是为什么?折磨了我一天
求大神支招,我系统报错,不能运
行selenium这是为什么?折磨了我一天
E:\python\python\python.exe E:/study/zhuangruanjian.py
Traceback (most recent call last):
File "E:/study/zhuangruanjian.py", line 9, in <module>
driver = webdriver.Chrome()
File "E:\python\python\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 81, in __init__
desired_capabilities=desired_capabilities)
File "E:\python\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "E:\python\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "E:\python\python\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "E:\python\python\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome process.
Process finished with exit code 1