Tejesh Raut Tejesh Raut - 21 days ago 6
Python Question

No module named Selenium

Even after successfully installing selenium-2.48.0
I am getting an error on importing the selenium package

>>> from Selenium import webdriver
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named selenium


and when I try to install selenium again using pip install selenium it shows the error:

Requirement already up-to-date: selenium in /usr/local/lib/python3.4/dist-packages

Answer

I was using python 2 instead of python 3 Thanks @Kamejoin to figure it out in comments