Skip to content
Advertisement

ModuleNotFoundError: No module named ‘selenium’

I get an error while running this selenium script. Please suggest what can be done to fix this: Script:

JavaScript

Error:

Traceback (most recent call last): File “C:/Users/admin/Desktop/test2.py”, line 2, in from selenium import webdriver ModuleNotFoundError: No module named ‘selenium’

I have installed Python 3.6 on win 7 Professional 32 bit. I have Selenium Standalone Server version 3.4.0(link)

Advertisement

Answer

Try installing selenium using pip. Use the following command.

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement