首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在cygwin下简单安装google-api-python-client时出错

在cygwin下简单安装google-api-python-client时出错
EN

Stack Overflow用户
提问于 2015-02-27 04:18:05
回答 1查看 590关注 0票数 1

我正在尝试在Windows7系统的cygwin上安装google-api-python-client。跟着他们的install instructions,我试着跑

代码语言:javascript
复制
easy_install --upgrade google-api-python-client

但是我得到了这个错误:

代码语言:javascript
复制
/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’)

我该如何解决这个问题呢?

EN

回答 1

Stack Overflow用户

发布于 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安装

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28751949

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档