修复:pip 'module' object has no attribute '_handlerList'
来源:互联网 发布:程序员之死的文化深意 编辑:程序博客网 时间:2024/06/13 22:24
问题
在运行pip install xxx
出现 ‘module’ object has no attribute ‘_handlerList’
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pip", line 11, in <module> load_entry_point('pip==9.0.1', 'console_scripts', 'pip')() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/__init__.py", line 233, in main return command.main(cmd_args) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/basecommand.py", line 185, in main for name in ["pip._vendor", "distlib", "requests", "urllib3"] File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/compat/dictconfig.py", line 565, in dictConfig dictConfigClass(config).configure() File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/compat/dictconfig.py", line 332, in configure del logging._handlerList[:]AttributeError: 'module' object has no attribute '_handlerList'
解决
方法1、升级pip
easy_install –upgrade pip
方法2、
pip install requests==2.6
阅读全文
0 0
- 修复:pip 'module' object has no attribute '_handlerList'
- python 中出现的AttributeError: 'module' object has no attribute '_handlerList'
- Debian (Jessie 8.0) 的修复pip AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- 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'
- AttributeError: 'module' object has no attribute 'Serial'
- AttributeError: 'module' object has no attribute 'LabelMap'
- AttributeError: 'module' object has no attribute 'XXX'
- AttributeError: 'module' object has no attribute 'urlopen'
- AttributeError:'module' object has no attribute 'classify'
- AttributeError: ‘module’ object has no attribute’xxx’
- AttributeError: ‘module’ object has no attribute’ 问题
- 崩溃调试
- Maya打开.obj模型并为其贴图
- mybatis jdbc Type 与java Type对照表 以及ResultMap元素讲解
- iOS 开发 Guideline 4.3
- SQLyog导出csv文件内容都在一列的解决办法
- 修复:pip 'module' object has no attribute '_handlerList'
- eclipse使用ctrl+鼠标左键进入代码后,原路返回
- Channel Allocation
- ps命令
- 【MySQL系列--优化2】——外连接简化
- MySQL索引
- 38. Count and Say
- 文档流下的css定位 常见问题解决汇总
- 【R语言】问题处理