Helios-Archives / Twitch-Account-Creator

A selenium based bot to create accounts without the need for paid capcha solves.
MIT License
71 stars 10 forks source link

'geckodriver' executable needs to be in PATH #25

Closed d0m1n1c closed 8 months ago

d0m1n1c commented 10 months ago

Getting error:

Traceback (most recent call last):
  File "C:\Users\domin\Twitch-Account-Creator\venv\lib\site-packages\selenium\webdriver\common\service.py", line 71, in start
    self.process = subprocess.Popen(cmd, env=self.env,
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1311, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 162, in <module>
    start()
  File "main.py", line 45, in start
    driver = webdriver.Firefox(options=firefox_profile)
  File "C:\Users\domin\Twitch-Account-Creator\venv\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 175, in __init__
    self.service.start()
  File "C:\Users\domin\Twitch-Account-Creator\venv\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
    raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.