Advertisement
Guest User

Untitled

a guest
Jul 19th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.40 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "C:\Users\Stepan\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\common\service.py", line 72, in start
  3.     self.process = subprocess.Popen(cmd, env=self.env,
  4.   File "C:\Users\Stepan\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 854, in __init__
  5.     self._execute_child(args, executable, preexec_fn, close_fds,
  6.   File "C:\Users\Stepan\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 1307, in _execute_child
  7.     hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
  8. FileNotFoundError: [WinError 2] Не удается найти указанный файл
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13.   File "C:/Users/Stepan/Desktop/hhh.py", line 75, in <module>
  14.     site = FirefoxBrowser()
  15.   File "C:/Users/Stepan/Desktop/hhh.py", line 50, in __init__
  16.     super().__init__(options=opt,
  17.   File "C:\Users\Stepan\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 164, in __init__
  18.     self.service.start()
  19.   File "C:\Users\Stepan\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
  20.     raise WebDriverException(
  21. selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement