MarketSquare / MarketSquare/robotframework-SikuliLibrary

Failed to install robotframework-desktoplibrary

Open
#89 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
163
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Having bellow error while installing robotframework-desktoplibrary using "pip install robotframework-desktoplibrary" command

C:\Users\anu>pip install robotframework-desktoplibrary
Collecting robotframework-desktoplibrary
Using cached https://files.pythonhosted.org/packages/2f/dc/02d773cb2a052a77b226e11a7104d506ecb827798bb4395757104eb0118f/robotframework-desktoplibrary-1.0.1.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\anu\AppData\Local\Temp\pip-install-m9ookcyz\robotframework-desktoplibrary\setup.py", line 4, in
execfile(join(dirname(abspath(__file__)), 'target', 'src', 'SikuliLibrary', 'version.py'))
NameError: name 'execfile' is not defined

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\anu\AppData\Local\Temp\pip-install-m9ookcyz\robotframework-desktoplibrary\

Tried "python setup.py install" as referred in other posts, still no luck.

details of installed libraries and python

C:\Users\anu>pip freeze
Pillow==5.4.1
Pygments==2.3.1
Pypubsub==4.0.0
pywin32==224
robotframework==3.1.1
robotframework-ride==1.7.3.1
robotframework-selenium2library==3.0.0
robotframework-seleniumlibrary==3.3.1
robotframeworklexer==1.1
selenium==3.141.0
six==1.12.0
urllib3==1.24.1
wxPython==4.0.4

C:\Users\anu>python
Python 3.7.0a4 (v3.7.0a4:07c9d85, Jan 9 2018, 07:07:02) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with setup.py, especially the reference to target/src/SikuliLibrary/version.py, and reproduce the reported installation command under Python 3.7 on Windows. The issue is done when robotframework-desktoplibrary installs successfully and its package metadata generation completes without the shown NameError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.