报错:

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

实际上和numpy没有关系 

解决方案:

先activate tensorflow环境,再执行tensorboard --logdir=路径名

结果依然报错,因为没有对应的版本的tensorboard

File "G:\Anaconda3\envs\tfenv\Scripts\tensorboard-script.py", line 3, in <module>
    import tensorflow.tensorboard.tensorboard
ImportError: No module named 'tensorflow.tensorboard'

最后解决方案:pip install tensorflow.tensorboard

tensorboard执行时报错

 

然后再运行:

tensorboard执行时报错

成功啦!

 

 

 

相关文章:

  • 2021-06-19
  • 2021-11-16
  • 2022-12-23
  • 2021-08-11
  • 2021-12-30
  • 2021-08-30
  • 2022-12-23
  • 2021-12-03
猜你喜欢
  • 2021-06-23
  • 2021-11-18
  • 2021-11-28
  • 2021-03-31
  • 2021-08-02
  • 2021-10-28
相关资源
相似解决方案