Error description: Selenium in Python code to initialize a Firefox browser failed, see the next selenium version is 2.35, and then use Firefox-- Version looked at the next is 28.0,firefox as if not obedient automatic upgrade led to the older version of selenium not supported.
Traceback (most recent):
File "C:\Python27\erSiteCompare.py", line 528, in
Sys.exit (Main ())
File "C:\Python27\erSiteCompare.py", line 525, in main
Sites.run ()
File "C:\Python27\erSiteCompare.py", line 462, in run
Self.capture ()
File "C:\Python27\erSiteCompare.py", line 353, in capture
Self.startsite1 ()
File "C:\Python27\erSiteCompare.py", line 233, in StartSite1
Raise E
Selenium.common.exceptions.WebDriverException:Message: "Can ' t load the profile.
Profile Dir:c:\\users\\rachelc\\appdata\\local\\temp\\tmp7pjtay Firefox Output
:
LOG addons.xpi:startup\r\n
LOG addons.xpi:Skipping Unavailable Install location app-system-local\r\n
LOG addons.xpi:Skipping Unavailable Install location app-system-share\r\n
LOG addons.xpi:checkforchanges\r\n "
Workaround:
Enter sudo pip install-u selenium to upgrade the current selenium version, it automatically connect me to the pypi.python.com and get a 2.42 version of the package, after the update can be used normally.
If the sudo pip hint is not found, you can which Pip first, and then sudo the PIP in the directory, perhaps the bin path is not included in the BASHRC.