在Mac osx 10.9.4上使用pip install twisted in virtualenv时,我得到了这个结果:

命令“python setup.py egg_info”失败,错误代码1在/ private / var / folders / 9r / 3b500gbs3093ms87mqqbckr80000gn / T / pip-build-doynftp7 / twisted /

我不知道该如何解决.我使用了easy_install,但是我遇到了SSL验证问题.有人有类似的问题吗?其余的错误消息如下.

Collecting twisted

Using cached Twisted-16.6.0.tar.bz2

Complete output from command python setup.py egg_info:

Download error on https://pypi.python.org/simple/incremental/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) -- Some packages may not be found!

Couldn't find index page for 'incremental' (maybe misspelled?)

Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749) -- Some packages may not be found!

No local packages or working download links found for incremental>=16.10.1

Traceback (most recent call last):

File "", line 1, in

File "/private/var/folders/9r/3b500gbs3093ms87mqqbckr80000gn/T/pip-build-lqvxc68n/twisted/setup.py", line 21, in

setuptools.setup(**_setup["getSetupArgs"]())

File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 108, in setup

_setup_distribution = dist = klass(attrs)

File "/Users/Complex-Cauchy/1/lib/python3.6/site-packages/setuptools/dist.py", line 317, in __init__

self.fetch_build_eggs(attrs['setup_requires'])

File "/Users/Complex-Cauchy/1/lib/python3.6/site-packages/setuptools/dist.py", line 372, in fetch_build_eggs

replace_conflicting=True,

File "/Users/Complex-Cauchy/1/lib/python3.6/site-packages/pkg_resources/__init__.py", line 851, in resolve

dist = best[req.key] = env.best_match(req, ws, installer)

File "/Users/Complex-Cauchy/1/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1123, in best_match

return self.obtain(req, installer)

File "/Users/Complex-Cauchy/1/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1135, in obtain

return installer(requirement)

File "/Users/Complex-Cauchy/1/lib/python3.6/site-packages/setuptools/dist.py", line 440, in fetch_build_egg

return cmd.easy_install(req)

File "/Users/Complex-Cauchy/1/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 668, in easy_install

raise DistutilsError(msg)

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('incremental>=16.10.1')

----------------------------------------

命令“python setup.py egg_info”失败,错误代码1在/ private / var / folders / 9r / 3b500gbs3093ms87mqqbckr80000gn / T / pip-build-lqvxc68n / twisted /

运行openssl s_client -showcerts -connect pypi.python.org:443

?返回以下内容:

CONNECTED(00000003)

depth=1 /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA

verify error:num=20:unable to get local issuer certificate

verify return:0

---

Certificate chain

0 s:/businessCategory=Private Organization/1.3.6.1.4.1.311.60.2.1.3=US/1.3.6.1.4.1.311.60.2.1.2=Delaware/serialNumber=3359300/street=16 Allen Rd/postalCode=03894-4801/C=US/ST=NH/L=Wolfeboro/O=Python Software Foundation/CN=www.python.org

i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA

-----BEGIN CERTIFICATE-----

MIIIWjCCB0KgAwIBAgIQCXCW7BLw16II/CMOsOFe/jANBgkqhkiG9w0BAQsFADB1

..

-----END CERTIFICATE-----

1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA

i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA

-----BEGIN CERTIFICATE-----

MIIEtjCCA56gAwIBAgIQDHmpRLCMEZUgkmFf4msdgzANBgkqhkiG9w0BAQsFADBs

....

-----END CERTIFICATE-----

Server certificate

subject=/businessCategory=Private Organization/1.3.6.1.4.1.311.60.2.1.3=US/1.3.6.1.4.1.311.60.2.1.2=Delaware/serialNumber=3359300/street=16 Allen Rd/postalCode=03894-4801/C=US/ST=NH/L=Wolfeboro/O=Python Software Foundation/CN=www.python.org

issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA

---

No client certificate CA names sent

---

SSL handshake has read 3524 bytes and written 456 bytes

---

New, TLSv1/SSLv3, Cipher is AES128-SHA

Server public key is 2048 bit

Secure Renegotiation IS supported

Compression: NONE

Expansion: NONE

SSL-Session:

Protocol : TLSv1

Cipher : AES128-SHA

Session-ID: BC7695FF86D2B82B20468A13E3F3E13AE23776B500E64665305EEBAF49BB54D1

Session-ID-ctx:

Master-Key:8D25B34237A3C74E90317D87BA74A2AAF0E8C424FB2ADE3D72E5F234D5E043C4527641290B928B3A22 1BE7D44116CFB1

Key-Arg : None

Start Time: 1487035770

Timeout : 300 (sec)

Verify return code: 0 (ok)

python安装pip3.6.1 installl报错_python – Pip安装Twisted Error 1相关推荐

  1. python pip安装报错_python pip安装扩展报错

    1.安装tldr报错 (1)报错详情: [root@linuxnode1 ~]# pip install tldr Collecting tldr Downloading https://files. ...

  2. python pip安装报错_Python pip安装失败:无效命令egg_info

    我发现,最近经常当我尝试安装 Python包使用 pip,我得到下面的错误. 我在网上找到一个参考,必须使用"python2 setup.py install"从下载目录,确实发现 ...

  3. python pip安装报错_python pip安装requests时报错,怎么解决

    展开全部 Traceback (most recent call last): File "/home/xiaoduc/.pyenv/versions/3.5.0/lib/python3.5 ...

  4. Linux 常规安装MySQL 执行启动命令报错(附安装方法)

    采用解压官网的targ ,配置mysql group权限组,并且初始化数据库后,执行service mysql start 报错: /etc/init.d/mysql: line 244: my_pr ...

  5. 安装pandas库报错_python中安装pandas

    在运行网上找的代码时,报错:ImportError: No module named 'pandas',解决:安装pandas 安装过程: (因为网上教程有的说用pip命令行安装:有的直接下载安装包, ...

  6. 安装了email模块还是报错_Git windows安装及使用教程

    设置ssh秘钥 git仓库 基本信息设置 创建分支并上传 github重命名分支 切换分支并上传 其他命令 上传文件报错 Git是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目 G ...

  7. Trinity安装全过程并解决部分报错

    Trinity安装全过程并解决部分报错 简单的安装方式: # Hompage : https://github.com/trinityrnaseq/trinityrnaseq/wiki# 安装 sud ...

  8. ubuntu18.04安装python的mysqlclient==1.4.6报错ERROR Command errored out with exit status 1python setup

    安装python的mysqlclient==1.4.6报错 环境: ubuntu18.04 python 3.7.2 Django 2.2 想要使用Django来操作MySQL,报错: LookupE ...

  9. 安装成功后python报错_python安装Graphviz后报错及解决方法

    说明一下,graphviz这个包,使用pip install graphviz安装后是不行的,这只安装了graphviz的pyhon调用接口,使用的话还需要下载graphviz的安装文件. 1.下载g ...

最新文章

  1. python 打印皮卡丘_Python到底是什么?学姐靠它拿了5个offer
  2. 用Delphi设计能携带附件的EMail
  3. 《Python爬虫开发与项目实战》——第3章 初识网络爬虫 3.1 网络爬虫概述
  4. 如何用FineReport制作一张报表(一)
  5. paddleocr常见问题(3)
  6. linux nvme的sendfile流程
  7. 选课_ctsc1997_ssl1606_树形dp
  8. C++程序设计方法3:移动构造函数
  9. JPDA 架构研究14 - Agent利用环境指针访问VM(对象管理篇)
  10. ImportError: No module named ‘BaseHTTPServer‘:解决方案
  11. 使用 jquery 的 上传文件插件 uploadify 3.1 配合 java 来做一个简单的文件上次功能。并且在界面上有radio 的选择内容也要上传...
  12. 代码动态逍遥叹之狂学php
  13. python selenium某里国际站网站注册登录验证问题
  14. iOS 玩不转的GCD第0课时
  15. 详细前端面试题javascript篇--持续更新
  16. Centos7.5 -Vim编辑器和恢复ext4下误删除的文件-Xmanager工具
  17. 创维30周年庆典举行,中国制造业标杆向千亿目标加速冲刺
  18. 【spring】切入点(Pointcut)、方面/切面(Aspect、Advisor)详解
  19. “我知道”和“我做到了”的差距
  20. 欧姆龙CJ2M 与海利普变频器通讯 协议宏方式 欧姆龙通讯模块协议宏 功能:通过触摸屏进行启停和点动,频率设定,加减速时间,点动频率设定

热门文章

  1. oracle sqlplus per,oracle profile sessions_per_user的用法
  2. mysql inner join 效率_mysql的大小表前后顺序对inner join的效率有影响吗?
  3. 失望电赛........
  4. 高数补课:导数、偏导数、方向导数、梯度
  5. ollyDBG 字体设置
  6. HTML标签学习---第二天
  7. ES(Elasticsearch)中间件
  8. 弘辽科技:直通车扣费很高是因为什么?
  9. linux 自带的make 命令,详解Linux下make命令的使用
  10. (Linux)make编译用法简述