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

+1 vote
While I am trying to run the code mentioned in the page "Web Scraping with Python", I am getting ModuleNotFoundError. I have already installed selenium using pip install selenium and when I try to cross-check using pip list method, I do get selenium listed in the modules installed. How do I solve this problem. Further how can we scrape the web without using any browser.
Aug 8 in Python by shamsher
• 130 points
252 views

1 answer to this question.

0 votes

Hello @shamsher,

First try to check what version of the Python Interpreter is interpreting your script using: 

python --version

Try this if you have python3.

pip3 install selenium

However to know how can we scrape the web without using any browser refer this.

If you want to know more about Web Scraping With Python - A Beginner's Guide 

Hope it help you!!
Thank you!!

answered Aug 9 by Niroj
• 58,500 points

Related Questions In Python

+1 vote
3 answers
0 votes
1 answer

ModuleNotFoundError: No module named 'selenium'

Hi@akhtar, You need to install the selenium module ...READ MORE

answered Jun 25 in Python by MD
• 56,480 points
1,568 views
0 votes
1 answer

How to perform web scraping with python?

Hey, there are various libraries used in ...READ MORE

answered Apr 20, 2018 in Python by aayushi
• 750 points
705 views
+3 votes
1 answer

Tensorflow 1.5 ImportError: No module named tensorflow.python.client

I think it's a bug in Tensorflow ...READ MORE

answered Sep 25, 2018 in Python by charlie_brown
• 7,780 points
5,363 views
0 votes
1 answer

tensorflow 1.5 ImportError: No module named tensorflow.python.client

Some of the modules have changed in ...READ MORE

answered Oct 5, 2018 in Python by Priyaj
• 57,640 points
1,231 views
0 votes
1 answer

tensorflow 1.5 ImportError: No module named tensorflow.python.client

Some of the modules have changed in ...READ MORE

answered Oct 9, 2018 in Python by Priyaj
• 57,640 points
261 views
0 votes
1 answer

Python error "ImportError: No module named pygame.locals"

You need to download and install the ...READ MORE

answered Jun 18, 2019 in Python by Greg
1,990 views
0 votes
1 answer

Python: ImportError: No module named Crypto.Cipher

Seems like the pycrypto package is not ...READ MORE

answered Jul 31, 2019 in Python by Hari
13,013 views
0 votes
2 answers

Python error “ImportError: No module named”

use the dir() function for particular import ...READ MORE

answered Jun 6 in Python by sahil
• 540 points
2,810 views
0 votes
1 answer

Import Error: No module named numpy?

Hello, I had numpy installed on the same ...READ MORE

answered Apr 14 in Python by Niroj
• 58,500 points
2,758 views