WebDriverException: Message: 'ChromeDriver executable needs to be available in the path
Question: Every time I run my python algorithm I am getting this error in cmd:

    
    
    Traceback (most recent call last):
    File "newScrape.py", line 1, in <module>
    import SScraper as SS
    File "build\bdist.win32\egg\SScraper\__init__.py", line 45, in <module>
    File "C:\Python27\lib\site-packages\selenium-2.43.0-py2.7.egg\selenium\webdriv
    er\chrome\webdriver.py", line 59, in __init__
    self.service.start()
    File "C:\Python27\lib\site-packages\selenium-2.43.0-py2.7.egg\selenium\webdriv
    er\chrome\service.py", line 68, in start
    and read up at http://code.google.com/p/selenium/wiki/ChromeDriver")
    selenium.common.exceptions.WebDriverException: Message: 'ChromeDriver executable
    needs to be available in the path.                 Please download from http://
    chromedriver.storage.googleapis.com/index.html                and read up at htt
    p://code.google.com/p/selenium/wiki/ChromeDriver'
    

Here is my enviroment path C:\Program
Files\Java\jdk1.8.0_05\bin;C:\Python27;C:\Python27\Lib\site-
packages\;C:\Python27\Scripts\; C:\FILES\chromedriver.exe;

What am I doing wrong?


Answer: You need to replace `C:\FILES\chromedriver.exe` with just `C:\FILES` since the
`PATH` environment variable contains the semi-colon separated list of
_directories_.

