虚拟机安装miniconda,并配置tensorflow-gpu
1、下载miniconda
在虚拟机命令行输入命令:wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-py37_4.8.2-Linux-x86_64.sh(可自行在官网找想要下载的版本);
2、开始安装(相当于运行脚本文件)
bash Miniconda3-py37_4.8.2-Linux-x86_64.sh(此处可以只敲一个M,再按Tab键,则会自动补全;如果有多个以大写M开头的文件,那就按需要写入);
3、进入bash环境
此时,已经安装好了miniconda,只需要在命令行输入:bash , 则会进入到bash环境了;
4、安装tensorflow-gpu等其他所需的工具
(1)只安装tensorflow-gpu:conda install tensorflow-gpu=2.0.0
(2)同时安装多个不同工具,只需要用空格隔开:conda install tensorflow-gpu=2.0.0 notebook matplotlib(此处应该规定ten