tensorflow安装笔记

环境搭建

1.安装anaconda(略)

2.安装tensorflow

2.1 创建环境:
conda create -n tf_1.14 python=3.6 
2.2 查看anaconda已经安装环境及位置:
conda env list
2.3 启动tensorflow环境:
activate tensorflow1.14
2.4 下载tengsorflow(要升级pip):
pip install tensorflow==1.14 -i https://pypi.tuna.tsinghua.edu.cn/simple gevent
2.5卸载环境:
conda remove -n tenorflow_2_1.14 --all

3.pycharm里面进行环境配置

3.1 setting->python Interprter->+号

tensorflow安装笔记_第1张图片

你可能感兴趣的:(python)