geckodriver executable could not be found on the current PATH 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')