#first with pip or pip3 do: pip install webdriver-manager #Then from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager driver = webdriver.Chrome(ChromeDriverManager().install())