ModuleNotFoundError No module named selenium

+1 vote

Hi Guys,

I am trying to create one python script that connects to my Whatsapp using the selenium module. But it is showing me the below error. 

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-2-b862d21102f3> in <module>
----> 1 from selenium import webdriver
      2 
      3 driver = webdriver.Chrome()
      4 driver.get('http://web.whatsapp.com')
      5 
ModuleNotFoundError: No module named 'selenium'

How can I solve this error?

Jun 25, 2020 in Python by akhtar
• 38,260 points
24,620 views

2 answers to this question.

0 votes

Hi@akhtar,

You need to install the selenium module in your system. You can use the below-given command to install the selenium module.

$ pip install selenium

For further understanding, you can refer to the Selenium Training.

I hope this will help.

answered Jun 25, 2020 by MD
• 95,460 points
hi @MD

i installed selenium in my system its showing all dependencies are satisfied but when i run the py file its showimg me the same error (im using pop_os and vs code )

can you help  me please...
Hi@sai,

After installing the module, you need to restart your IDE. Otherwise, it will not update automatically.
0 votes
i fix the problem after installing

go to file setting and python interpreter and click one any one and search for selenium and click install
answered Nov 18, 2020 by ahmed

Related Questions In Python

+1 vote
1 answer

Web Scraping with Python:-> ModuleNotFoundError: no module named 'selenium'

Hello @shamsher, First try to check what version ...READ MORE

answered Aug 10, 2020 in Python by Niroj
• 82,840 points
4,190 views
+1 vote
3 answers
+2 votes
3 answers

ModuleNotFoundError: No module named 'Crypto'

The module you’ve installed is different. To install ...READ MORE

answered Aug 20, 2019 in Python by Raman
81,300 views
0 votes
2 answers

ModuleNotFoundError: No module named 'pythoncom' in pyttsx3

even i faced the same problem ...just ...READ MORE

answered Jun 2, 2020 in Python by anonymous
14,030 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,468 views
0 votes
1 answer
0 votes
2 answers

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
13,776 views
+3 votes
3 answers

ModuleNotFoundError: No module named 'cv2'

Hi@akhtar, This error may occur if you didn't install ...READ MORE

answered Apr 9, 2020 in Python by MD
• 95,460 points
270,973 views
+2 votes
2 answers

ModuleNotFoundError: No module named 'pyttsx3

Hi@akhtar, To avoid this error you have to ...READ MORE

answered Apr 24, 2020 in Python by MD
• 95,460 points
29,241 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP