After I installed the conda, I still cannot call the conda. And I follow the below steps to add the path.
sudo gedit ~/.bashrc
export PATH= "/home/howard/anaconda3/bin:$PATH"
sudo gedit /etc/profile
export PATH="/home/howard/anaconda3/bin:$PATH"
source /etc/profile
However, the situation even worst. I cannot call conda and nvcc. "not found" Also, when I restart the terminal, it say
bash:
export: /home/username/anaconda3/bin:/usr/local/cuda/bin:/usr/local/cuda-10.0/bin:/usr/local/cuda-11.1/bin:/usr/local/cuda-11.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda/bin':
not a valid identifier
When I wanna get back to ~/.bashrc to delete the export path, by using sudo gedit ~/.bashrc
It tells bash: sudo: No such file or directory
Can anyone help?