Comments (2)
What's you command?
I have try pip and python setup.py, both works
as you console log mentions, maybe it is a VersionConflict
http://stackoverflow.com/questions/12029284/ez-setup-py-syntax-error
(VENV)[jollychang@jollychangs-MBP robotframework-appiumlibrary]$ pip install -U robotframework-appiumlibrary
Requirement already up-to-date: robotframework-appiumlibrary in ./VENV/lib/python2.7/site-packages/robotframework_appiumlibrary-1.2.3-py2.7.egg
Requirement already up-to-date: decorator>=3.3.2 in ./VENV/lib/python2.7/site-packages (from robotframework-appiumlibrary)
Requirement already up-to-date: robotframework>=2.6.0 in ./VENV/lib/python2.7/site-packages (from robotframework-appiumlibrary)
Requirement already up-to-date: docutils>=0.8.1 in ./VENV/lib/python2.7/site-packages (from robotframework-appiumlibrary)
Requirement already up-to-date: Appium-Python-Client>=0.5 in ./VENV/lib/python2.7/site-packages (from robotframework-appiumlibrary)
Requirement already up-to-date: mock>=1.0.1 in ./VENV/lib/python2.7/site-packages (from robotframework-appiumlibrary)
Requirement already up-to-date: pytest-cov>=1.8.1 in ./VENV/lib/python2.7/site-packages (from robotframework-appiumlibrary)
Requirement already up-to-date: pytest-xdist>=1.11 in ./VENV/lib/python2.7/site-packages (from robotframework-appiumlibrary)
Requirement already up-to-date: pytest-pythonpath>=0.4 in ./VENV/lib/python2.7/site-packages (from robotframework-appiumlibrary)
Requirement already up-to-date: selenium>=2.41.0 in ./VENV/lib/python2.7/site-packages (from Appium-Python-Client>=0.5->robotframework-appiumlibrary)
Requirement already up-to-date: enum34 in ./VENV/lib/python2.7/site-packages (from Appium-Python-Client>=0.5->robotframework-appiumlibrary)
Requirement already up-to-date: py>=1.4.22 in ./VENV/lib/python2.7/site-packages (from pytest-cov>=1.8.1->robotframework-appiumlibrary)
Requirement already up-to-date: pytest>=2.6.0 in ./VENV/lib/python2.7/site-packages (from pytest-cov>=1.8.1->robotframework-appiumlibrary)
Requirement already up-to-date: coverage>=3.7.1,<4.0a1 in ./VENV/lib/python2.7/site-packages (from pytest-cov>=1.8.1->robotframework-appiumlibrary)
Requirement already up-to-date: cov-core>=1.14.0 in ./VENV/lib/python2.7/site-packages (from pytest-cov>=1.8.1->robotframework-appiumlibrary)
Requirement already up-to-date: execnet>=1.1 in ./VENV/lib/python2.7/site-packages (from pytest-xdist>=1.11->robotframework-appiumlibrary)
Cleaning up...
(VENV)[jollychang@jollychangs-MBP robotframework-appiumlibrary]$ python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to src/robotframework_appiumlibrary.egg-info/requires.txt
writing src/robotframework_appiumlibrary.egg-info/PKG-INFO
writing top-level names to src/robotframework_appiumlibrary.egg-info/top_level.txt
writing dependency_links to src/robotframework_appiumlibrary.egg-info/dependency_links.txt
reading manifest file 'src/robotframework_appiumlibrary.egg-info/SOURCES.txt'
writing manifest file 'src/robotframework_appiumlibrary.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-x86_64/egg
running install_lib
running build_py
copying src/AppiumLibrary/__init__.py -> build/lib/AppiumLibrary
copying src/AppiumLibrary/version.py -> build/lib/AppiumLibrary
copying src/AppiumLibrary/keywords/_applicationmanagement.py -> build/lib/AppiumLibrary/keywords
copying src/AppiumLibrary/keywords/_element.py -> build/lib/AppiumLibrary/keywords
copying src/AppiumLibrary/keywords/_runonfailure.py -> build/lib/AppiumLibrary/keywords
creating build/bdist.macosx-10.9-x86_64/egg
creating build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary
copying build/lib/AppiumLibrary/__init__.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary
creating build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/__init__.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/_applicationmanagement.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/_element.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/_keyevent.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/_logging.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/_runonfailure.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/_screenshot.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/_touch.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/_waiting.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
copying build/lib/AppiumLibrary/keywords/keywordgroup.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords
creating build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/locators
copying build/lib/AppiumLibrary/locators/__init__.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/locators
copying build/lib/AppiumLibrary/locators/elementfinder.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/locators
creating build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/utils
copying build/lib/AppiumLibrary/utils/__init__.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/utils
copying build/lib/AppiumLibrary/utils/applicationcache.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/utils
copying build/lib/AppiumLibrary/version.py -> build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary
copying build/lib/ez_setup.py -> build/bdist.macosx-10.9-x86_64/egg
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/_applicationmanagement.py to _applicationmanagement.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/_element.py to _element.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/_keyevent.py to _keyevent.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/_logging.py to _logging.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/_runonfailure.py to _runonfailure.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/_screenshot.py to _screenshot.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/_touch.py to _touch.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/_waiting.py to _waiting.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/keywords/keywordgroup.py to keywordgroup.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/locators/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/locators/elementfinder.py to elementfinder.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/utils/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/utils/applicationcache.py to applicationcache.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/AppiumLibrary/version.py to version.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/ez_setup.py to ez_setup.pyc
creating build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying src/robotframework_appiumlibrary.egg-info/PKG-INFO -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying src/robotframework_appiumlibrary.egg-info/SOURCES.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying src/robotframework_appiumlibrary.egg-info/dependency_links.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying src/robotframework_appiumlibrary.egg-info/requires.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying src/robotframework_appiumlibrary.egg-info/top_level.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
ez_setup: module MAY be using inspect.getsourcefile
AppiumLibrary.__init__: module references __file__
AppiumLibrary.keywords._applicationmanagement: module references __file__
creating 'dist/robotframework_appiumlibrary-1.2.3-py2.7.egg' and adding 'build/bdist.macosx-10.9-x86_64/egg' to it
removing 'build/bdist.macosx-10.9-x86_64/egg' (and everything under it)
Processing robotframework_appiumlibrary-1.2.3-py2.7.egg
creating /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages/robotframework_appiumlibrary-1.2.3-py2.7.egg
Extracting robotframework_appiumlibrary-1.2.3-py2.7.egg to /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Adding robotframework-appiumlibrary 1.2.3 to easy-install.pth file
Installed /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages/robotframework_appiumlibrary-1.2.3-py2.7.egg
Processing dependencies for robotframework-appiumlibrary==1.2.3
Searching for pytest-pythonpath==0.5
Best match: pytest-pythonpath 0.5
Adding pytest-pythonpath 0.5 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for pytest-xdist==1.11
Best match: pytest-xdist 1.11
Adding pytest-xdist 1.11 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for pytest-cov==1.8.1
Best match: pytest-cov 1.8.1
Adding pytest-cov 1.8.1 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for mock==1.0.1
Best match: mock 1.0.1
Adding mock 1.0.1 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for Appium-Python-Client==0.11
Best match: Appium-Python-Client 0.11
Adding Appium-Python-Client 0.11 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for docutils==0.12
Best match: docutils 0.12
Adding docutils 0.12 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for robotframework==2.8.6
Best match: robotframework 2.8.6
Adding robotframework 2.8.6 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for decorator==3.4.0
Best match: decorator 3.4.0
Adding decorator 3.4.0 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for pytest==2.6.4
Best match: pytest 2.6.4
Adding pytest 2.6.4 to easy-install.pth file
Installing py.test-2.7 script to /Users/jollychang/works/robotframework-appiumlibrary/VENV/bin
Installing py.test script to /Users/jollychang/works/robotframework-appiumlibrary/VENV/bin
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for py==1.4.26
Best match: py 1.4.26
Adding py 1.4.26 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for execnet==1.2.0
Best match: execnet 1.2.0
Adding execnet 1.2.0 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for cov-core==1.15.0
Best match: cov-core 1.15.0
Adding cov-core 1.15.0 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for coverage==3.7.1
Best match: coverage 3.7.1
Adding coverage 3.7.1 to easy-install.pth file
Installing coverage2 script to /Users/jollychang/works/robotframework-appiumlibrary/VENV/bin
Installing coverage-2.7 script to /Users/jollychang/works/robotframework-appiumlibrary/VENV/bin
Installing coverage script to /Users/jollychang/works/robotframework-appiumlibrary/VENV/bin
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for enum34==1.0.4
Best match: enum34 1.0.4
Adding enum34 1.0.4 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Searching for selenium==2.44.0
Best match: selenium 2.44.0
Adding selenium 2.44.0 to easy-install.pth file
Using /Users/jollychang/works/robotframework-appiumlibrary/VENV/lib/python2.7/site-packages
Finished processing dependencies for robotframework-appiumlibrary==1.2.3
from robotframework-appiumlibrary.
@diptichaudhari24 your error is because you are using python3.x and not python2.x
I got bitten by this because I built a python virtualenv and it used python3 by default
virtualenv --no-site-packages python_env
I corrected it with specifying python2.x explicitly
virtualenv --no-site-packages -p python python_env
from robotframework-appiumlibrary.
Related Issues (20)
- Attach screenshot to xunit.xml for Azure DevOps
- No WebView Context in "Get Contexts" result HOT 1
- Open Application not working with Selenium 4.10+ (unexpected keyword argument 'desired_capabilities') HOT 2
- iOS Automation execution doesn't start, Fails at xcodebuild error 70 HOT 3
- swipe_by_percent Function does not work properly with IOS HOT 1
- Appium keyword 'start activity' does not work anymore
- Unable to input text for edit text using Jetpack compose HOT 1
- gives an error for xpath" (//div[contains(@class,'no-result-contact-info')]/p)[1]" InvalidArgumentException: HOT 3
- Can't locate elements with extra space in the value when using accessibility_id
- Start Screen Recording : AttributeError: 'WebDriver' object has no attribute 'desired_capabilities' HOT 4
- Swipe By Percent error: AttributeError: 'WebDriver' object has no attribute 'desired_capabilities'
- Input URL is missing the two slashes // after https:
- Appium-Python-Client 4.0.0 breaks this package. HOT 5
- Unable to interract with alerts on iOS simulator since xcuitest v6 HOT 1
- Failed to import allium.webdriver.common.touch-action after installing latest version of Appium-Python-Client (4.0.0) HOT 3
- Swipe/scroll keywords are not working with appiumlibrary when appium server updated to 2.5.1 HOT 2
- getting Error "ModuleNotFoundError: No module named 'appium.webdriver.common.touch_action' " during launch application HOT 2
- WebDriverException: Message: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource HOT 1
- ModuleNotFoundError: No module named 'appium.webdriver.common.touch_action' HOT 2
- Appium Swipe does not work in Mac HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotframework-appiumlibrary.