import tensorflow

RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
ImportError: numpy.core.multiarray failed to import
ImportError: numpy.core.umath failed to import
ImportError: numpy.core.umath failed to import

 

1.错误原因

numpy版本未能达到tensorflow的要求,造成API链接错误

2. 解决方法

升级numpy版本

pip3 install numpy --upgrade

相关文章:

  • 2022-01-08
  • 2022-12-23
  • 2021-05-20
  • 2022-01-03
  • 2021-09-22
  • 2022-12-23
  • 2021-09-28
  • 2021-10-23
猜你喜欢
  • 2021-05-21
  • 2022-12-23
  • 2022-01-21
  • 2021-12-02
  • 2022-12-23
  • 2021-06-14
  • 2021-04-04
相关资源
相似解决方案