title: Selenium: Geckodriver in PATH, but nothing changed, same error saying it isn't there
body: <p>When trying to do a simple line of code with selenium, it keeps saying that I have to use geckodriver in PATH. After some research, it said to put it in the system environment variables. I put the executable file as the value and saved it. I restarted the computer and tried to run my code again and it gave the same error again. I'm not sure what to do now.</p>
  <p>Error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;c:\Users\CitizenZap\Downloads\AutoBuyer-master\AutoBuyer-master\test1.py&quot;, line 3, in &lt;module&gt;
      browser = webdriver.Firefox()
    File &quot;C:\Users\CitizenZap\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\firefox\webdriver.py&quot;, line 174, in __init__
      self.service.start()
    File &quot;C:\Users\CitizenZap\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\common\service.py&quot;, line 81, in start
  selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
  </code></pre>
  <p>The code I'm writing:</p>
  <pre><code>from selenium import webdriver
      
  browser = webdriver.Firefox()
  browser.get('http://selenium.dev/')
  </code></pre>