Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall mini conda? python

I've install the conda package as such:

$ wget http://bit.ly/miniconda $ bash miniconda $ conda install numpy pandas scipy matplotlib scikit-learn nltk ipython-notebook seaborn 

I want to uninstall it because it's messing up my pips and environment.

  • How do I uninstall conda totally?
  • Will it uninstall also my pip managed packages? If so, is there a way to uninstall conda safely without uninstalling packages managed by pip?
like image 243
alvas Avatar asked Apr 13 '15 00:04

alvas


People also ask

How do I uninstall Miniconda from my Mac?

You can uninstall Miniconda on your Mac using these steps:Open Terminal and type in rm -rf ~/miniconda. You can then edit ~./bash_profile for complete uninstallation of Miniconda from your PATH environment variable. Finally, remove hidden files from the home directory by running rm -rf ~/.

How do I completely uninstall Anaconda?

To use Uninstall-Anaconda.exe in C:\Users\username\Anaconda3 is a good way. Show activity on this post. Method1: To uninstall Anaconda3 go to the Anaconda3 folder, there u will be able to find an executable called Uninstall-Anaconda3.exe, double click on it. This should uninstall ur application.


1 Answers

In order to uninstall miniconda, simply remove the miniconda folder,

rm -r ~/miniconda/ 

As for avoiding conflicts between different Python environments, you can use virtual environments. In particular, with Miniconda, the following workflow could be used,

$ wget https://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O ~/miniconda.sh $ bash miniconda $ conda env remove --yes -n new_env    # remove the environement new_env if it exists (optional) $ conda create --yes -n new_env pip numpy pandas scipy matplotlib scikit-learn nltk ipython-notebook seaborn python=2 $ activate new_env $ # pip install modules if needed, run python scripts, etc   # everything will be installed in the new_env   # located in ~/miniconda/envs/new_env $ deactivate 
like image 158
rth Avatar answered Sep 21 '22 15:09

rth