rainmanwy / robotframework-SikuliLibrary

Sikuli Robot Framework Library provide keywords for Robot Framework to test UI through Sikuli.
Apache License 2.0
147 stars 61 forks source link

Failed to install robotframework-desktoplibrary #89

Open Anushri-kookkal opened 5 years ago

Anushri-kookkal commented 5 years ago

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.

rainmanwy commented 5 years ago

@Anushri-kookkal , you should use "pip install robotframework-SikuliLibrary" to install the library. The error is because the old version which only support py2.

Anushri-kookkal commented 5 years ago

Thanks @rainmanwy, I did tried that too, unfortunately getting error while import the library to RIDE with name(SikuliLibrary) and path. Errors are attached ride sikulilibrary_import_error

below

rainmanwy commented 5 years ago

Seems there are miss spelling. Should be SikuliLibrary. There is no "i" between L and b.

获取 Outlook for Androidhttps://aka.ms/ghei36


From: Anushri-kookkal notifications@github.com Sent: Sunday, February 3, 2019 12:52:11 PM To: rainmanwy/robotframework-SikuliLibrary Cc: Rainmanwy; Mention Subject: Re: [rainmanwy/robotframework-SikuliLibrary] Failed to install robotframework-desktoplibrary (#89)

Thanks @rainmanwyhttps://github.com/rainmanwy, I did tried that too, unfortunately getting error while import the library to RIDE. Screenshots attached [ride]https://user-images.githubusercontent.com/47237714/52172834-81fcc880-27b2-11e9-804a-f60f1f3f4d26.PNG [sikulilibrary_import_error]https://user-images.githubusercontent.com/47237714/52172835-82955f00-27b2-11e9-8021-46b1a7577b3c.PNG

below

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/rainmanwy/robotframework-SikuliLibrary/issues/89#issuecomment-460023084, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGrAE8t0tVy3p-ZpZL3HwqkmSQZWYnXDks5vJmr7gaJpZM4adzfj.

Anushri-kookkal commented 5 years ago

Sorry @rainmanwy it was a typo, its the same result even with SikuliLibrary sikulilibrary_error

rainmanwy commented 5 years ago

how about the jdk version you are using? there should have log files, which may have error logs from sikulix.

获取 Outlook for Androidhttps://aka.ms/ghei36


From: Anushri-kookkal notifications@github.com Sent: Wednesday, February 6, 2019 11:24:14 AM To: rainmanwy/robotframework-SikuliLibrary Cc: Rainmanwy; Mention Subject: Re: [rainmanwy/robotframework-SikuliLibrary] Failed to install robotframework-desktoplibrary (#89)

Sorry @rainmanwyhttps://github.com/rainmanwy it was a typo, its the same result even with SikuliLibrary [sikulilibrary_error]https://user-images.githubusercontent.com/47237714/52318905-b87c5280-2a01-11e9-8d9a-face2e3f377f.PNG

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/rainmanwy/robotframework-SikuliLibrary/issues/89#issuecomment-460888805, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGrAE9mXwiFV77rqwSF238T9OeJ5W08Bks5vKkregaJpZM4adzfj.