安装ananconda: 下载: https://www.anaconda.com/distribution/ 清华镜像: https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/?C=M&O=D anaconda中安装tensorflow: 依次输入一系列的命令:选项全部y conda create -n TF2.1 python=3.7 conda activate TF2.1 conda install cudatoolkit=10.1 conda install cudnn=7.6 pip install