How to uninstall Anaconda(Mac)

时光怂恿深爱的人放手 提交于 2019-12-23 01:03:25

问题


I am not familiar to computer. I want to uninstall Anaconda and reinstall it because I accidentally deleted Networkx and some packages included in Anaconda. Therefore I attempted to delete Anaconda and reinstall it however, I got this message Anaconda is already installed in /Users/myname/anaconda. Use 'conda update anaconda' to update Anaconda. and could not install when I tried. I used this command to delete :sudo rm -rf /anaconda and rm -rf ~/.continuum/ How should I do to delete it and reinstall completely ? It would be very appreciated if it is explained in detail.


回答1:


According to https://docs.continuum.io/anaconda/install#anaconda-clean
First install anaconda-clean by conda install anaconda-clean
and then anaconda-clean --yes




回答2:


From the documentation:

To remove all configuration files, run:

conda install anaconda-clean
anaconda-clean --yes

Then, open the Terminal.app or iTerm2 terminal application and remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”, by entering the following command: rm -rf ~/anaconda3 (note the ~ here)



来源:https://stackoverflow.com/questions/43990055/how-to-uninstall-anacondamac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!