1. 安装Anaconda并配置环境
➢ 打开Terminal,下载Anaconda至/home目录下:
wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh
➢ 安装Anaconda:
sudo apt-get update
bash Anaconda3-5.0.1-Linux-X86_64.sh
➢ 为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/cloud/conda-forge'
conda config --add channels 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/'
conda config --set show_channel_urls yes
➢ 使用Anaconda创建虚拟环境,命名为tf:
conda create --name tf python=3.6 anaconda
2. 安装Docker
➢ 打开Terminal,安装以下包以使apt可以通过HTTPS使用存储库(repository):
sudo apt-get update
sudo apt