ImportError:no module named tensorflow.python

环境:windows10,64位

python报错:

ImportError:no module named tensorflow.python


解决方法:

用conda更新tensorflow

在终端输入:

cd D:\Anaconda3

conda create -n tensorflow python=3.6

activate tensorflow
pip install --ignore-installed --upgrade tensorflow-gpu 

参考网址:

https://www.tensorflow.org/install/install_windows


猜你喜欢

转载自blog.csdn.net/ciyiquan5963/article/details/78957929