天天看点

tensorflow安装过程中的错误

1.jupyter notebook打开出现404

推荐使用pip安装jupyter notebook和其他的包,conda安装及conda install nb_conda的话很容易出现打开网页出现404的结果。

解决办法:删除整个环境,重新更换一个名字创建环境,然后所有的包通过pip安装。

2.tensorflow运行出错 ERROR:root:Internal Python error in the inspect module

这是因为以前这个环境中安装过其他版本的TensorFlow,导致一些包的版本不匹配,大概率会出现下面这样的报错。

ImportError: No module named 'tensorflow_core.estimator'
           

解决办法:检查该环境中的包版本是否对应,按照每个包的版本卸载重安装就行了。

tensorflow_core.estimator
           

继续阅读