remove anaconda completely and reinstall ubuntu code example
Example 1: uninstall anaconda ubuntu
#Install anaconda-clean
conda install anaconda-clean
#start anaconda-clean
anaconda-clean --yes
Example 2: uninstall anaconda ubuntu
rm -rf ~/anaconda3 ~/.condarc ~/.conda ~/.continuum #To execute in terminal