(venv) allindeMini-2:Android kiko$ pip install --upgrade --pre atx
Collecting atx
Using cached https://files.pythonhosted.org/packages/0f/c4/64fc93a57fa5044f92f4c6020c0af9874a16353c1d3b4587a15665f347ce/atx-1.2.1.dev8-py3-none-any.whl
Collecting Pillow>=2.7.0 (from atx)
Using cached https://files.pythonhosted.org/packages/63/1b/75e41511d41014e4d6396f8ce4a9a89de1cff98a120e34751bd5877a3141/Pillow-5.2.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Collecting colorama (from atx)
Using cached https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Collecting PyYAML (from atx)
Using cached https://files.pythonhosted.org/packages/a8/c6/a8d1555e795dbd0375c3c93b576ca13bbf139db51ea604afa19a2c35fc03/PyYAML-4.2b4.tar.gz
Collecting uiautomator2 (from atx)
Using cached https://files.pythonhosted.org/packages/38/41/196d7f4366cc9f5e879013fadb6af50eaba9298fa40f7be388c8f365ff50/uiautomator2-0.1.4.dev4.tar.gz
Complete output from command python setup.py egg_info:
Download error on https://pypi.org/simple/pbr/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (ssl.c:719) -- Some packages may not be found!
Couldn't find index page for 'pbr' (maybe misspelled?)
Download error on https://pypi.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) -- Some packages may not be found!
No local packages or working download links found for pbr
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/g4/djqyv05x52v4byw17pb30zg80000gn/T/pip-install-mlv59ww5/uiautomator2/setup.py", line 9, in
setup_requires=['pbr'], python_requires='>=2.7,!=3.7.*', pbr=True)
File "/Users/kiko/Desktop/Android/venv/lib/python3.5/site-packages/setuptools-39.1.0-py3.5.egg/setuptools/
init.py", line 128, in setup
File "/Users/kiko/Desktop/Android/venv/lib/python3.5/site-packages/setuptools-39.1.0-py3.5.egg/setuptools/
init.py", line 123, in _install_setup_requires
File "/Users/kiko/Desktop/Android/venv/lib/python3.5/site-packages/setuptools-39.1.0-py3.5.egg/setuptools/dist.py", line 504, in fetch_build_eggs
File "/Users/kiko/Desktop/Android/venv/lib/python3.5/site-packages/setuptools-39.1.0-py3.5.egg/pkg_resources/
init.py", line 774, in resolve
File "/Users/kiko/Desktop/Android/venv/lib/python3.5/site-packages/setuptools-39.1.0-py3.5.egg/pkg_resources/
init.py", line 1057, in best_match
File "/Users/kiko/Desktop/Android/venv/lib/python3.5/site-packages/setuptools-39.1.0-py3.5.egg/pkg_resources/
init_.py", line 1069, in obtain
File "/Users/kiko/Desktop/Android/venv/lib/python3.5/site-packages/setuptools-39.1.0-py3.5.egg/setuptools/dist.py", line 571, in fetch_build_egg
File "/Users/kiko/Desktop/Android/venv/lib/python3.5/site-packages/setuptools-39.1.0-py3.5.egg/setuptools/command/easy_install.py", line 667, in easy_install
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pbr')

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/g4/djqyv05x52v4byw17pb30zg80000gn/T/pip-install-mlv59ww5/uiautomator2/


↙↙↙阅读原文可查看相关链接,并与作者交流