Q:

Unable to launch Selenium with Python in Eclipse

I'm getting Unresolved import: webdriver
 Found at: selenium.webdriver.__init__
2.44.0 issue when i'm trying to launch selenium with python in Eclipse
My sample code
from selenium import webdriver
from selenium.common.keys import Keys
driver = webdriver.Firefox()
driver.get("http://www.python.org")
driver.close()

Using Python 2.7 , Pydev 2.2
Installed Selenium through PIP
pip install selenium
Downloading/unpacking selenium
Running setup.py (path:c:\users\ajay_t~1\appdata\local\temp\pip_build_ajay_talpur\selenium\setup.py) egg_info for package selenium
Installing collected packages: selenium
Running setup.py install for selenium
Successfully installed selenium

When updating Packages 
pip install -U selenium
Requirement already up-to-date: selenium in c:\python27\lib\site-packages

What else i missed please tell me so that i can start executions.

A:

Please update Environment variable by adding Python Directory path & site packages path.And retry : C:\Python27\Scripts;C:\Python27\Lib\site-packages;

