LoginSignup
0
0

More than 3 years have passed since last update.

【備忘録】anaconda3アンインストールした話

Posted at

Catalinaさん・・・

勝手にanacondaのディレクトリ移動されてたりデフォルトの解凍ソフトが上手く動かなかったりアプデで被害が大きいですね。

ターミナルでcondaと打っても

zsh: /Users/takaki/anaconda3/bin/conda: bad interpreter: /Users/Shared/Relocated\: no such file or directory

こんなんになったり、matplotlibが使えなくなったり

This application failed to start because it could not find or load the Qt platform plugin "cocoa"
in "".

で大変になったので色々いじってたんですがどうしても上手く行かなかったのでアンインストールすることにしました
(condaは実行できるところまで行きましたがそれでもmatplotlibが使えなかった)

手順

conda install anaconda-clean

Proceed ([y]/n)?って聞かれるのでy押します

Downloading and Extracting Packages
conda-4.7.12 | 3.0 MB | ##################################### | 100%
anaconda-clean-1.1.0 | 7 KB | ##################################### | 100%
conda-package-handli | 1.4 MB | ##################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

クリーナinstall出来ましたので実行します

anaconda-clean

Delete .ipython? (y/n):
Delete .jupyter? (y/n):
Delete .matplotlib? (y/n):

全部yおします

 rm -r /Users/[UserName]/anaconda3 

(UserNameは自分のあれです)

他にもあるかもしれません↓勝手に移動されたanacondaさん

rm -r /Users/Shared/Relocated\ Items/Security/anaconda3

rm: /Users/Shared/Relocated Items/Security/anaconda3: Permission denied

怒られます。権限を使って消しましょう

sudo rm -r /Users/Shared/Relocated\ Items/Security/anaconda3

おわり

はい。
勘弁してほしいですねAppleさん。。

0
0
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
0
0