TensorFlow版本:1.13.1
解决方法:
conda update tensorflow
显示如下:
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/osx-64::tensorflow==1.13.1=mkl_py36haf07a9b_0
- defaults/osx-64::tensorflow-base==1.13.1=mkl_py36hc36dc97_0
可以看出是版本安装过程中出现了问题,我现在的安装源是清华的源,版本之间的一致性不行,因此更新一下就好了
The following NEW packages will be INSTALLED:
tensorflow-estima~ pkgs/main/noarch::tensorflow-estimator-1.13.0-py_0
安装完成后版本冲突解决。