开发准备(二)
开发准备(一)
一、开发环境准备
1、下载Anaconda,国内镜像地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
2、进入Anaconda power shell,加入清华大学镜像源。
#conda config --add channels https://mirrors.tuna.tsinghua.edn.cn/anaconda/pkgs/free/
#conda config --set show_channel_urls yes
#conda create -n tensorflow python=3.7.3
3、安装使用virtualenv环境
#pip install virtualenv
#virtualenv venv_tensorflow
#cd venv_tensorflow
#cd Scripts
4、激活虚拟环境
#.\activate
5、激活虚拟环境后安装tensorflow
#pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ --upgrade tensorflow