How to properly setup Windows7 to use Selenium with Firefox [TDD with Python]?
<p>I'm getting my system (Windows 7 Pro 64 bit, Python 3.5 through Anaconda) setup to use Firefox through selenium to follow the book <em>Test Driven Development with Python.</em> Python keeps throwing error <code>WebDriverException: 'geckodriver.exe' executable needs to be in PATH.</code> even though I've set my system path to point to geckodriver's folder (and restarted 3 times).</p>

<p>If I point python/selenium to <code>geckodriver.exe</code>'s exact location I get the following error</p>

<pre><code>OSError: [WinError 216] This version of %1 is not compatible with the
version of Windows you're running. Check your computer's system information
to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program,
and then contact the software publisher
</code></pre>

<p>At this point I'm not sure if the error version <code>%1</code> has to do with firefox being the wrong version (I've tried 64 and 32 bit), the geckodriver, selenium, or something else entirely.</p>