step4:install yuan ma
-
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 # reference # https://mirror.tuna.tsinghua.edu.cn/help/anaconda/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
step5:LAST
conda install pytorch torchvision cudatoolkit=10.0
step1:安装anacoda 下载地址
bash Anaconda3-2018.12-Linux-x86_64.sh
将路径配置到系统环境变量中
接下来运行如下命令
-
echo 'export PATH="~/anaconda3/bin:$PATH"' >> ~/.bashrc
-
source ~/.bashrc
如下图所示就可以用了
step2:创建一个环境
conda create -n bova python=3.6
step3:激活环境
source activate bova