安装DatabaseLibrary For RobotFramework

用pip 失败了

c:\Python27\Scripts>pip install robotframework-databaselibrary
Downloading/unpacking robotframework-databaselibrary
  Could not fetch URL https://pypi.python.org/simple/robotframework-databaselibr
ary/: There was a problem confirming the ssl certificate: <urlopen error [Errno
1] _ssl.c:507: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certifica
te verify failed>
  Will skip URL https://pypi.python.org/simple/robotframework-databaselibrary/ w
hen looking for download links for robotframework-databaselibrary
  Could not fetch URL https://pypi.python.org/simple/: There was a problem confi
rming the ssl certificate: <urlopen error [Errno 1] _ssl.c:507: error:14090086:S
SL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed>
  Will skip URL https://pypi.python.org/simple/ when looking for download links
for robotframework-databaselibrary
  Cannot fetch index base URL https://pypi.python.org/simple/
  Could not fetch URL https://pypi.python.org/simple/robotframework-databaselibr
ary/: There was a problem confirming the ssl certificate: <urlopen error [Errno
1] _ssl.c:507: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certifica
te verify failed>
  Will skip URL https://pypi.python.org/simple/robotframework-databaselibrary/ w
hen looking for download links for robotframework-databaselibrary
  Could not find any downloads that satisfy the requirement robotframework-datab
aselibrary
Cleaning up...
No distributions at all found for robotframework-databaselibrary
Storing complete log in C:\Users\admin\pip\pip.log

 
用easy_install 成功了
c:\Python27\Scripts>easy_install robotframework-databaselibrary
Searching for robotframework-databaselibrary
Reading http://pypi.python.org/simple/robotframework-databaselibrary/
Best match: robotframework-databaselibrary 0.6
Downloading https://pypi.python.org/packages/source/r/robotframework-databaselib
rary/robotframework-databaselibrary-0.6.tar.gz#md5=5a45f645213379164dec132308887
30c
Processing robotframework-databaselibrary-0.6.tar.gz
Running robotframework-databaselibrary-0.6\setup.py -q bdist_egg --dist-dir c:\u
sers\admin\appdata\local\temp\easy_install-ju0u3m\robotframework-databaselibrary
-0.6\egg-dist-tmp-rxyliu
zip_safe flag not set; analyzing archive contents...
Adding robotframework-databaselibrary 0.6 to easy-install.pth file

Installed c:\python27\lib\site-packages\robotframework_databaselibrary-0.6-py2.7
.egg
Processing dependencies for robotframework-databaselibrary
Finished processing dependencies for robotframework-databaselibrary
posted @ 2018-01-24 10:18  cling_chen  阅读(190)  评论(0编辑  收藏  举报