'module' object has no attribute 'OP_NO_TLSv1_1'问题解决
来源:互联网 发布:金太阳手机炒股软件 编辑:程序博客网 时间:2024/06/08 07:55
问题概述:
在使用twisted建立简单服务器时,需要导入管理器reactor。在导入时报错,最终错误描述内容如标题所示。
报错后尝试了什么?
重新安装twisted
怀疑是reactor没有被正确安装,或者未能找到正确的、符合当前系统的reactor,所以尝试安装了pollreactor.未能奏效
解决办法:
方法1、参考http://twistedmatrix.com/trac/对twisted的介绍进行检测,看看自己的twisted是不是没有正确安装
方法2、降低自己安装的twisted的版本,如 '$ pip install twisted==16.4.1'
注:twisted版本及下载可参考网址:http://twistedmatrix.com/trac/wiki/Downloads
阅读全文
0 0
- 'module' object has no attribute 'OP_NO_TLSv1_1'问题解决
- 'module' object has no attribute 'OP_NO_TLSv1_1'
- 'module' object has no attribute 'OP_NO_TLSv1_1'
- Scrapy AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1 解决方法
- 关于Srapy框架运行的错误AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'
- Scrapy安装报错:AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'解决办法
- 'module' object has no attribute 'MLPRegressor'问题解决(Python2.7)
- 关于Python的:'module' object has no attribute 'inet_pton'问题解决
- AttributeError: 'module' object has no attribute 'face' 问题解决 opencv+python
- AttributeError: ‘module’ object has no attribute’xxx 问题解决
- AttributeError: 'module' object has no attribute 'getpass'
- 'module' object has no attribute 'basicConfig'
- AttributeError: 'module' object has no attribute 'Serial'
- 'module' object has no attribute 'rindex'
- AttributeError: 'module' object has no attribute(转)
- AttributeError: 'module' object has no attribute 'randint'
- AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC'
- Django: 'module' object has no attribute 'index'
- [bzoj4503]&[caioj1455][FFT]串
- Codeforces Round #428 (Div. 2) E
- iOS之《Effective Objective-C 2.0》读书笔记(8)
- Django+Karlooper+ios重构学校的学生成绩管理系统(二)学生信息管理系统
- 树莓派如何挂载硬盘/U盘
- 'module' object has no attribute 'OP_NO_TLSv1_1'问题解决
- 总结unicode和utf-8的区别
- Android SurfaceView 播放视频
- Mybatis之分页插件——PageHelper
- Socket通讯简介
- Yii框架无法设置Content-Type之谜
- Linux下vi显示行数及自动缩进
- HEVC代码学习25:xDecompressCU函数
- CCF-CSP 中间数 JAVA 201612-1