1.选择Anaconda prompt
2.conda create -n tensorflow2 python=3.7
(tensorflow2是个人创建的环境名称)
3.conda activate tensorflow2
4.安装机器学习包
pip install sklearn
5.安装TensorFlow
conda install tensorflow-gpu
6.测试:进入python后import tensorflow
7.配置PyCharm环境

1.选择Anaconda prompt
2.conda create -n tensorflow2 python=3.7
(tensorflow2是个人创建的环境名称)
3.conda activate tensorflow2
4.安装机器学习包
pip install sklearn
5.安装TensorFlow
conda install tensorflow-gpu
6.测试:进入python后import tensorflow
7.配置PyCharm环境