Windows下安装tensorflow(含问题解决方案)

在命令提示符(cmd)中使用pip安装tensorflow框架

安装之前先检查numpy库的版本是否需要更新

pip install numpy

 

python -m pip install -U numpy

然后再安装tensorflow

pip install tensorflow

解决办法:

pip install -U --ignore-installed wrapt enum34 simplejson netaddr

然后再继续安装:

pip install tensorflow

检查tensorflow版本信息

pip show tensorflow

或者进入python的交互模式查看:

python

import tensorflow as tf


tf.__version__#查看版本信息

tf.__path__#查看路径
发布了12 篇原创文章 · 获赞 12 · 访问量 465

猜你喜欢

转载自blog.csdn.net/weixin_44417475/article/details/100107016
今日推荐