Cancel Ubuntu 14.04 on python by default after uninstalling anaconda

I am new to ubuntu and the entire Linux environment. I installed Anaconda on my system, but for some reason I want to use python by default. I deleted the anaconda directory, but now the system cannot find the python installation (obviously, but I don’t know how to get there). Can someone write out step by step about how I will return to the original python (by default, ubuntu is 14.04)?

thanks

+7
python ubuntu anaconda
source share
1 answer

In your .bashrc you will have a line that looks like Anaconda adds it during the installation process:

 export PATH=$HOME/anaconda/bin:$PATH 

You need to delete this line, execute source .bashrc and enter python, which should open the shell using your python default system.

+10
source share

All Articles