Solving Python Error – ModuleNotFoundError: No module named ‘webdriver_manager’

ModuleNotFoundError: No module named ‘webdriver_manager’ is a common error which occurs when webdrivermanager is not installed properly.

In this post, we will try to solve your error and see why it occurs in the first place, we will present multiple solutions if we can find them and test them, so you can find the one which suits your case.

Explaining the Error : ModuleNotFoundError: No module named ‘webdriver_manager’

The error happens when you are trying to install the webdriver using a faulty command

First of all, this is how the error message looks like.

Solving Python Error - ModuleNotFoundError No module named 'webdriver_manager'

Bellow is an amazing tested solution that I have tried and has worked for me.

Solution : use webdriver-manager instead of webdrivermanager

The solution is simple, you need to be using webdriver-manager instead of webdrivermanager.

Try replacing the command bellow.

                                                                       #
# replace this command
pip install webdrivermanager
                                                                       #

With the following command.

                                                                       #
# command to replace the line above with
pip install webdriver_manager
                                                                       #

If the command above does not work, try this command and notice the difference

                                                                       #
# try this command if the one above does not work
pip install webdriver-manager
                                                                       #

If the solutions above helped you, consider supporting us on Kofi, any help is appreciated.

Go to the settings of PyCharm click on project interpreter then click on the + icon.

Search for webdriver-manager and install it.

Finally, you should add the following lines to your code.

Solving Python Error - ModuleNotFoundError No module named 'webdriver_manager'-1

I hope this was enough to solve your problem, check out our Kofi donation button at the top of this page if you want to help our Blog.

Summing-up

The error in this article is one of the most confusing errors in Python, I hope this article has helped you solve the error ModuleNotFoundError: No module named ‘webdriver_manager’ is a common error which occurs when webdrivermanager or at least pointed you in the right direction.

Keep learning guys, keep coding and cheers. If you want to learn more about Python, please check out the Python Documentation : https://docs.python.org/3/