essage: 'geckodriver' executable needs to be in PATH. windows code example
Example: geckodriver' executable needs to be in path
from selenium import webdriver
driver = webdriver.Firefox(executable_path=r'your\path\geckodriver.exe')
driver.get('http://inventwithpython.com')