Я установил Ubuntu 20.04.3 lts и установил anaconda3, мне пришлось удалить anaconda3, так как у меня возникла проблема, просто набрав эту команду # rm -f anaconda3
из корня и каталога /home/user
. После этого я столкнулся с проблемой, описанной ниже
thilipkumar@thilipkumar-Inspiron-5520:~$ sudo -s
[sudo] password for thilipkumar:
root@thilipkumar-Inspiron-5520:/home/thilipkumar# ls
Command 'ls' is available in the following places
* /bin/ls
* /usr/bin/ls
The command could not be located because '/bin:/usr/bin' is not included in the PATH environment variable.
ls: command not found
root@thilipkumar-Inspiron-5520:/home/thilipkumar#
, и в последних нескольких строках моего .bashrc
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/thilipkumar/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/thilipkumar/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/thilipkumar/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/home/thilipkumar/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
кто-нибудь может подсказать, что делать дальше?