tensorflow安装那些事


所有都在tensorflow环境下进行(环境名)

创建环境
conda create -n tensorflow_cpu python=3.6
activate tensorflow_cpu

指定版本
cpu
conda search tensorflow conda install tensorflow=1.12.0
pip install --upgrade --ignore-installed  --upgrade tensorflow==1.4.0

更新
pip install --upgrade tensorflow


卸载
pip uninstall tensorflow


查看版本

python

import tensorflow as tf

tf.__version__
posted @ 2021-04-01 17:56  llnick_xu  阅读(81)  评论(0)    收藏  举报