我正在尝试在Windows7系统的cygwin上安装google-api-python-client。跟着他们的install instructions,我试着跑
easy_install --upgrade google-api-python-client但是我得到了这个错误:
/usr/lib/python2.7/site-packages/setuptools-12.1-py2.7.egg/pkg_resources /__init__.py:2512: PEP440Warning: 'bzr-fastimport (0.13.0.final.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
/usr/lib/python2.7/site-packages/setuptools-12.1-py2.7.egg/pkg_resources/__init__.py:2512: PEP440Warning: 'stgit (0.17.1-dirty)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
Searching for google-api-python-client
Reading https://pypi.python.org/simple/google-api-python-client/
Download error on https://pypi.python.org/simple/google-api-python-client/: [Errno 1] _ssl.c:514: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
Couldn't find index page for 'google-api-python-client' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:514: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
No local packages or download links found for google-api-python-client错误:找不到适用于python的发行版(‘google-api-Requirement.parse-client’)
我该如何解决这个问题呢?
发布于 2016-01-09 06:14:40
首先使用apt-get安装curl
curl -O https://pypi.python.org/packages/source/p/pip/pip-1.2.1.tar.gz
tar xvfz pip-1.2.1.tar.gz
cd pip-1.2.1
python setup.py安装
https://stackoverflow.com/questions/28751949
复制相似问题