I\'m trying to write a script to check a website. It\'s the first time I\'m using selenium. I\'m trying to run the script on a OSX system. Although I checked in /Library/Pyt
Your IDE might be pointing to a different installation of Python than where Selenium is installed.
I'm using Eclipse and when I ran 'quick auto-configure' under:
Preferences > PyDev > Interpreters > Python Interpreter
it pointed to a different version of Python than where pip or easy_install actually installed it.
Selenium worked from the Terminal so I determined which version of python my Terminal was using by running this:
python -c "import sys; print(sys.path)"
then had Eclipse point to that same location, which for me on my 10.11 Mac was here:
/Library/Frameworks/Python.framework/Versions/Current/bin/python2.7/
You can run "Advanced Auto-Config" as well to see all of the installed versions of python and select the one you want to use. When I selected that same location using "Advanced Auto-Config" it finally showed me the Selenium folder as it went through the configuration steps.