I am trying to intall webdriver and in order to open firefox i need the geckodriver to be installed and in the correct path.
Firstly the download link to install geckodr
I've wrestled with the same question for last hour, and finally have a solution, which will hopefully help someone out there (Windows 10, Python 2.7, Anaconda distribution).
1) This was the issue in my case: make sure you have the latest version of Firefox installed. I had firefox 36, which, when checking for updates, said it was the latest version. Mozilla's website had version 54 as latest. So download firefox from website, and reinstall
2) Make sure you have the latest gecko driver downloaded
3) If you're getting the path error - use the code below to figure out which path python is looking at, and pop the geckodriver.exe in there:
import os
os.getcwd()