Having difficulty installing Selenium2Library for use with robotframework
See original GitHub issueI’m attempting to learn more about robotframework, and the documentation mentioned using Selenium2Library if one wishes to interact with a web browser. So I tried pip installing this to my virtualenv, but it looks like something went wrong:
(robotenv)btweed@btweed:[~/virtualenvs/robotenv/PlayArea]>pip install robotframework-selenium2library
Collecting robotframework-selenium2library
Using cached robotframework-selenium2library-1.7.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/w6/rjdtmsb96ks4nv4xfm2p8v400000gp/T/pip-build-__rwphnc/robotframework-selenium2library/setup.py", line 7, in <module>
from ez_setup import use_setuptools
File "/private/var/folders/w6/rjdtmsb96ks4nv4xfm2p8v400000gp/T/pip-build-__rwphnc/robotframework-selenium2library/src/ez_setup.py", line 106
except pkg_resources.VersionConflict, e:
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/w6/rjdtmsb96ks4nv4xfm2p8v400000gp/T/pip-build-__rwphnc/robotframework-selenium2library
I’m using pip 8.0.2 to install this package to a Python 3.4.3 virtualenv for use with Robot Framework 3.0. Is there a different package that I should try installing? Also, is there a standardized way that robotframework users install and work with Selenium2Library?
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Selenium2library does not load - Robot Framework
First off, do not use “Selenium2Library” - it is nothing but a wrapper that installs SeleniumLibrary. If tutorial is pointing you to use...
Read more >unable to add Selenium2Library in RIDE - Google Groups
Hello, As I am using RobotFramework 2.7.4 & RIDE version 0.51. As I wanted to use Selenium2Library instead of SeleniumLibrary so I installed...
Read more >Unable to use Selenium2Library in Robot Framework ...
It appears you have installed Selenium2Library for python, but you are using jython (via jybot) to run your tests. You have at least...
Read more >robotframework-selenium2library - PyPI
The recommended approach to install Selenium2Library, regardless the version, is using pip. Install (or upgrade) the latest Selenium2Library version: pip ...
Read more >Robot framework installation - SQA Stack Exchange
Install Selenium2Library. C:\Python27\Scripts> easy_install robotframework-selenium2library . This will automatically install some packages(ex: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Selenium2Library is not compatible with Python 3 (yet). See PR #564. If you are willing to try a Beta package, you may install like:
Or download from Releases
The right place to report bugs is at My fork tracker
But the goal is to have only the official branch merged.