Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/http/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Installation 在cygwin下轻松安装google api python客户端时出错_Installation_Cygwin_Easy Install_Google Api Python Client - Fatal编程技术网

Installation 在cygwin下轻松安装google api python客户端时出错

Installation 在cygwin下轻松安装google api python客户端时出错,installation,cygwin,easy-install,google-api-python-client,Installation,Cygwin,Easy Install,Google Api Python Client,我正在尝试在Windows7系统的cygwin上安装GoogleAPI python客户端。跟随他们的脚步,我试着跑步 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

我正在尝试在Windows7系统的cygwin上安装GoogleAPI python客户端。跟随他们的脚步,我试着跑步

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
错误:找不到适合需求的分发版。请分析“google-api-python-client”


如何修复此问题?

首先使用apt get安装curl

旋度-O

tar xvfz pip-1.2.1.tar.gz

cd pip-1.2.1

python setup.py安装