报错:

ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['C:\\Users\\Administrator\\Anaconda3\\lib\\site-packages\\numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.

tensorflow安装出现numpy version问题

 报错是因为tensorflow和opencv有依赖关系,numpy版本没有更新,导致出错。
用pip3 install -U numpy尝试升级了一下numpy ,结果升级成功,但程序还是报错。用pip3 list指令查看安装的所有包,numpy的版本确实最新版本。

最后卸载numpy版本,重新安装:

tensorflow安装出现numpy version问题

tensorflow安装出现numpy version问题

tensorflow安装出现numpy version问题

结果不报错,tensorflow安装成功,问题解决。

相关文章:

  • 2021-10-19
  • 2022-12-23
  • 2022-01-21
  • 2021-04-04
  • 2021-05-25
  • 2021-05-18
  • 2021-08-28
  • 2021-07-05
猜你喜欢
  • 2021-10-12
  • 2021-06-15
  • 2021-12-29
  • 2021-05-19
  • 2021-12-15
  • 2021-07-10
  • 2022-12-23
相关资源
相似解决方案