C:UsersDELLAppDataLocalProgramsPythonPython39python.exe D:/Program/Selenium/autofollow.py
Traceback (most recent call last):
File "D:ProgramSeleniumseleniumwebdrivercommonservice.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "C:UsersDELLAppDataLocalProgramsPythonPython39libsubprocess.py", line 947, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:UsersDELLAppDataLocalProgramsPythonPython39libsubprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PermissionError: [WinError 5] Access is denied
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:ProgramSeleniumautofollow.py", line 4, in <module>
driver = webdriver.Chrome(executable_path="D:ProgramSeleniumseleniumwebdriverchrome")
File "D:ProgramSeleniumseleniumwebdriverchromewebdriver.py", line 73, in __init__
self.service.start()
File "D:ProgramSeleniumseleniumwebdrivercommonservice.py", line 86, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chrome' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home
Process finished with exit code 1
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…