Tejesh Raut Tejesh Raut - 1 year ago 227
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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download