Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't find webdriver_manager module in PyCharm

I'm trying to get a headless webscraper going using firefox and geckodriver and I'm trying to get the paths using webdriver_manager.

I've run

pip install webdriver_manager

and I'm trying to use this to open the browser

from selenium import webdriver
from webdriver_manager.firefox import GeckoDriverManager

browser = webdriver.Firefox(executable_path=GeckoDriverManager().install())

However, I keep getting a runtime error

ModuleNotFoundError: No module named 'webdriver_manager'

I've already added the library to the python interpreter in PyCharm, but I just can't get it to work.

like image 634
Melvin Sureshbabu Avatar asked Oct 30 '25 09:10

Melvin Sureshbabu


2 Answers

I found another solution. Go to Python Packages at the bottom panel, search for "webdriver-manager" and install it manually

like image 170
Danila Sukhoparov Avatar answered Oct 31 '25 22:10

Danila Sukhoparov


I had a similar problem for a long while and I found a solution that actually worked for me:

python3 -m pip install webdriver_manager

All of my research told me in one form or another to run the following that never worked for me:

pip install webdriver_manager

Running the first command instead for whatever reason actually allowed me to utilize the module.

like image 45
Jessica Feliciano Avatar answered Nov 01 '25 00:11

Jessica Feliciano



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!