Message: 'geckodriver3' executable needs to be in 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')