安装信息如下:
D:\SETUP\appium_setup\robotframework-appiumlibrary-master\robotframework-appiuml
ibrary-master>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.t
xt
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.win32\egg
running install_lib
running build_py
creating build\bdist.win32\egg
creating build\bdist.win32\egg\AppiumLibrary
creating build\bdist.win32\egg\AppiumLibrary\keywords
copying build\lib\AppiumLibrary\keywords\keywordgroup.py -> build\bdist.win32\eg
g\AppiumLibrary\keywords
copying build\lib\AppiumLibrary\keywords_applicationmanagement.py -> build\bdis
t.win32\egg\AppiumLibrary\keywords
copying build\lib\AppiumLibrary\keywords_element.py -> build\bdist.win32\egg\Ap
piumLibrary\keywords
copying build\lib\AppiumLibrary\keywords_logging.py -> build\bdist.win32\egg\Ap
piumLibrary\keywords
copying build\lib\AppiumLibrary\keywords_runonfailure.py -> build\bdist.win32\e
gg\AppiumLibrary\keywords
copying build\lib\AppiumLibrary\keywords_screenshot.py -> build\bdist.win32\egg
\AppiumLibrary\keywords
copying build\lib\AppiumLibrary\keywords_touch.py -> build\bdist.win32\egg\Appi
umLibrary\keywords
copying build\lib\AppiumLibrary\keywords_waiting.py -> build\bdist.win32\egg\Ap
piumLibrary\keywords
copying build\lib\AppiumLibrary\keywords__init.py -> build\bdist.win32\egg\Ap
piumLibrary\keywords
creating build\bdist.win32\egg\AppiumLibrary\locators
copying build\lib\AppiumLibrary\locators\elementfinder.py -> build\bdist.win32\e
gg\AppiumLibrary\locators
copying build\lib\AppiumLibrary\locators__init.py -> build\bdist.win32\egg\Ap
piumLibrary\locators
creating build\bdist.win32\egg\AppiumLibrary\utils
copying build\lib\AppiumLibrary\utils\applicationcache.py -> build\bdist.win32\e
gg\AppiumLibrary\utils
copying build\lib\AppiumLibrary\utils__init.py -> build\bdist.win32\egg\Appiu
mLibrary\utils
copying build\lib\AppiumLibrary\version.py -> build\bdist.win32\egg\AppiumLibrar
y
copying build\lib\AppiumLibrary__init.py -> build\bdist.win32\egg\AppiumLibra
ry
copying build\lib\ez_setup.py -> build\bdist.win32\egg
byte-compiling build\bdist.win32\egg\AppiumLibrary\keywords\keywordgroup.py to k
eywordgroup.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\keywords_applicationmanageme
nt.py to _applicationmanagement.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\keywords_element.py to _elem
ent.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\keywords_logging.py to _logg
ing.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\keywords_runonfailure.py to
_runonfailure.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\keywords_screenshot.py to _s
creenshot.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\keywords_touch.py to _touch.
pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\keywords_waiting.py to _wait
ing.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\keywords__init.py to __ini
t.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\locators\elementfinder.py to
elementfinder.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\locators__init.py to __ini
t.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\utils\applicationcache.py to
applicationcache.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\utils__init.py to __init_
.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary\version.py to version.pyc
byte-compiling build\bdist.win32\egg\AppiumLibrary_init.py to __init.pyc
byte-compiling build\bdist.win32\egg\ez_setup.py to ez_setup.pyc
creating build\bdist.win32\egg\EGG-INFO
copying src\robotframework_appiumlibrary.egg-info\PKG-INFO -> build\bdist.win32\
egg\EGG-INFO
copying src\robotframework_appiumlibrary.egg-info\SOURCES.txt -> build\bdist.win
32\egg\EGG-INFO
copying src\robotframework_appiumlibrary.egg-info\dependency_links.txt -> build\
bdist.win32\egg\EGG-INFO
copying src\robotframework_appiumlibrary.egg-info\requires.txt -> build\bdist.wi
n32\egg\EGG-INFO
copying src\robotframework_appiumlibrary.egg-info\top_level.txt -> build\bdist.w
in32\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.0.16-py2.7.egg' and adding 'build\
bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing robotframework_appiumlibrary-1.0.16-py2.7.egg
removing 'd:\python 2.7.8\lib\site-packages\robotframework_appiumlibrary-1.0.16-
py2.7.egg' (and everything under it)
creating d:\python 2.7.8\lib\site-packages\robotframework_appiumlibrary-1.0.16-p
y2.7.egg
Extracting robotframework_appiumlibrary-1.0.16-py2.7.egg to d:\python 2.7.8\lib\
site-packages
robotframework-appiumlibrary 1.0.16 is already the active version in easy-instal
l.pth
Installed d:\python 2.7.8\lib\site-packages\robotframework_appiumlibrary-1.0.16-
py2.7.egg
Processing dependencies for robotframework-appiumlibrary==1.0.16
Searching for pytest>=2.5.2
Reading http://pypi.python.org/simple/pytest/
Download error: [Errno 10060] -- Some packages may not be found!
Couldn't find index page for 'pytest' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: [Errno 10060] -- Some packages may not be found!
No local packages or download links found for pytest>=2.5.2
Best match: None
Traceback (most recent call last):
File "setup.py", line 41, in
include_package_data = True,
File "D:\python 2.7.8\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "D:\python 2.7.8\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "D:\python 2.7.8\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "D:\python 2.7.8\lib\site-packages\setuptools\command\install.py", line 7
6, in run
self.do_egg_install()
File "D:\python 2.7.8\lib\site-packages\setuptools\command\install.py", line 1
04, in do_egg_install
cmd.run()
File "D:\python 2.7.8\lib\site-packages\setuptools\command\easy_install.py", l
ine 211, in run
self.easy_install(spec, not self.no_deps)
File "D:\python 2.7.8\lib\site-packages\setuptools\command\easy_install.py", l
ine 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "D:\python 2.7.8\lib\site-packages\setuptools\command\easy_install.py", l
ine 478, in install_item
self.process_distribution(spec, dist, deps)
File "D:\python 2.7.8\lib\site-packages\setuptools\command\easy_install.py", l
ine 519, in process_distribution
[requirement], self.local_index, self.easy_install
File "D:\python 2.7.8\lib\site-packages\pkg_resources.py", line 563, in resolv
e
dist = best[req.key] = env.best_match(req, self, installer)
File "D:\python 2.7.8\lib\site-packages\pkg_resources.py", line 799, in best_m
atch
return self.obtain(req, installer) # try and download/install
File "D:\python 2.7.8\lib\site-packages\pkg_resources.py", line 811, in obtain
return installer(requirement)
File "D:\python 2.7.8\lib\site-packages\setuptools\command\easy_install.py", l
ine 434, in easy_install
self.local_index
File "D:\python 2.7.8\lib\site-packages\setuptools\package_index.py", line 475
, in fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'
请问是什么问题,如何解决呢?
是网络连接不上 pypi 的问题吗?之前在上面的安装没有问题。
谢谢!