1.anaconda安装
(1)gedit ~/.bashrc打开bashrc文件
(2)在文档末尾加入export PATH="/home/ssj/anaconda3/bin:$PATH"
(3)source ~/.bashrc
报错:bash: /home/dwj/.bashrc: line 121: syntax error: unexpected end of file
解决:在bashrc文件末尾加上fi,保存之后重新输入(3),无显示即成功
1.anaconda安装
(1)gedit ~/.bashrc打开bashrc文件
(2)在文档末尾加入export PATH="/home/ssj/anaconda3/bin:$PATH"
(3)source ~/.bashrc
报错:bash: /home/dwj/.bashrc: line 121: syntax error: unexpected end of file
解决:在bashrc文件末尾加上fi,保存之后重新输入(3),无显示即成功