在使用import numpy时突然出现如下报错:
报错 AttributeError: 'module' object has no attribute 'bool_'

出现AttributeError: ‘module’ object has no attribute ‘bool_’报错.

解决办法:

**因为昨晚安装caffe,但make报错就没有继续,电脑里已安装tensorflow。

尝试使用重装numpy还是不行,此时import tensorflow也报同样的错误。最后发现,删除caffe,报错解决。

相关文章:

  • 2022-02-07
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-07
  • 2021-04-07
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-06-06
  • 2021-07-27
相关资源
相似解决方案