Ich habe das conda-Paket als solches installiert:
$ wget http://bit.ly/miniconda
$ bash miniconda
$ conda install numpy pandas scipy matplotlib scikit-learn nltk ipython-notebook seaborn
Ich möchte es deinstallieren, weil es meine Pips und die Umgebung durcheinander bringt.
Um Miniconda deinstallieren zu können, entfernen Sie einfach den Ordner miniconda
.
rm -r ~/miniconda/
Um Konflikte zwischen verschiedenen python Umgebungen zu vermeiden, können Sie virtualenv
verwenden. Insbesondere mit miniconda kann der folgende Workflow verwendet werden:
$ 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
sie haben diesen Kommentar in ~/.bashrc zu schreiben:
#export PATH=/home/jolth/miniconda3/bin:$PATH
und Renn:
source ~/.bashrc