2023.11.27 使用anoconda搭建tensorflow环境
提供一个简便安装tensorflow的方法
1. 首先安装anoconda,安装过程略,注意安装的时候勾选安装anoconda prompt
2. 进入anoconda prompt
3. 建立python版本
conda create -n tensorflow1 python=3.8

4. 激活tensorflow1环境,和base环境区别
conda activate tensorflow1
5. 使用清华镜像安装tensorflow,速度快,比官方稳定
pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple # 清华镜像
pip install tensorflow==2.3 # 官方安装

6. 安装完毕
7. 回pycharm中重新加载tensorflow1环境即可
