Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
547 views
in Technique[技术] by (71.8m points)

I tried to make instagram bot and i get this error. And i've just insalled python What should i do?

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...