1. 下载
https://www.anaconda.com/distribution/
2. 安装
https://mirror.tuna.tsinghua.edu.cn/help/anaconda/
运行以下命令:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
3. 配置Python 3.7
运行以下命令:
conda create --name Python\ 3.7 python=3.7.3
4. 使用Python 3.7
运行以下命令:
conda activate Python\ 3.7
conda deactivate
5. 安装tensorflow
运行以下命令:
python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/
python -m pip install --upgrade tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple/