question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Having difficulty installing Selenium2Library for use with robotframework

See original GitHub issue

I’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:closed
  • Created 8 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
HelioGuilherme66commented, Jan 29, 2016

Selenium2Library is not compatible with Python 3 (yet). See PR #564. If you are willing to try a Beta package, you may install like:

pip install -U https://github.com/HelioGuilherme66/robotframework-selenium2library/archive/v1.8.0b1.tar.gz

Or download from Releases

1reaction
HelioGuilherme66commented, Apr 22, 2016

The right place to report bugs is at My fork tracker

But the goal is to have only the official branch merged.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found