25
27

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Anaconda3をアンインストールする

Last updated at Posted at 2018-07-12

Anacondaで環境構築をしていたが、Dockerに乗り換える場合などに。

前提条件

console
% sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.5
BuildVersion:	17F77

anacondaのお掃除

anaconda-cleanを使います。

console
conda install anaconda-clean
anaconda-clean # 問題がなければすべてyで答える
sudo rm -rf /anaconda3 # which condaの結果を削除する

.bash_profileや.zshrcからPATHを削除

以下の記述を削除します

.bash_profile
export PATH="/anaconda3/bin:$PATH"

SHELLの再起動

console
exec $SHELL
which python # /usr/local/bin/pythonなどが表示される

/anaconda3/binを見ていなければ終了。

25
27
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
25
27

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?