报错 AttributeError: 'module' object has no attribute 'bool_'
2017-05-04 14:40
609 查看
在使用import numpy时突然出现如下报错:
出现AttributeError: ‘module’ object has no attribute ‘bool_’报错.
尝试使用重装numpy还是不行,此时import tensorflow也报同样的错误。最后发现,删除caffe,报错解决。
出现AttributeError: ‘module’ object has no attribute ‘bool_’报错.
解决办法:
**因为昨晚安装caffe,但make报错就没有继续,电脑里已安装tensorflow。尝试使用重装numpy还是不行,此时import tensorflow也报同样的错误。最后发现,删除caffe,报错解决。
相关文章推荐
- Python Matplotlib AttributeError: 'module' object has no attribute 'popall'
- AttributeError: 'module' object has no attribute 'AF_INET'处理办法——python
- AttributeError: 'module' object has no attribute 的解决方法
- Flask--AttributeError 'bool' object has no attribute '__call__'
- Importing theano: AttributeError: 'module' object has no attribute 'find_graphviz'
- [python错误]builtins.AttributeError: 'module' object has no attribute 'request'
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- Tensorflow报错:AttributeError: 'module' object has no attribute 'summary'
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- AttributeError: 'module' object has no attribute 'handlers'--Python子模块导入问题
- tensorflow AttributeError: 'module' object has no attribute 'cpu_count'
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- networkx库:AttributeError: 'module' object has no attribute 'graphviz_layout'
- 【python学习笔记(2)】脚本报错"AttributeError: 'module' object has no attribute 'xxx'"解决方法
- Faq_flask : AttributeError: ‘module’ object has no attribute ‘autoescape’
- Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法
- 【python】AttributeError: 'module' object has no attribute 'HTTPSConnection'
- Tensorflow报错:AttributeError: 'module' object has no attribute 'scalar_summary'
- 【Python错误】AttributeError: 'bool' object has no attribute '__call__'