anacondaを削除する方法 [Python]
忘れないようにメモしておく。
Last login: Wed Oct 10 16:44:09 on console
$ conda install anaconda-clean
Solving environment: done
## Package Plan ##
environment location: /anaconda3
added / updated specs:
- anaconda-clean
The following packages will be downloaded:
package | build
---------------------------|-----------------
anaconda-clean-1.1.0 | py37_1 7 KB
The following NEW packages will be INSTALLED:
anaconda-clean: 1.1.0-py37_1
Proceed ([y]/n)? y
Downloading and Extracting Packages
anaconda-clean-1.1.0 | 7 KB | ##################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
$ anaconda-clean
Delete .anaconda? (y/n): y
Backup directory: /Users/ユーザ名/.anaconda_backup/2018-10-10T164906
Delete .conda? (y/n): y
Delete .condarc? (y/n): y
Delete .idlerc? (y/n): y
Delete .ipynb_checkpoints? (y/n): y
Delete .ipython? (y/n): y
Delete .jupyter? (y/n): y
anacondaはインストールするときにパスを追加するので、その部分だけを削除する。つまり
$ open ~/.bash_profile
を編集。
$
その後後で、anacondaというフォルダを削除。
なぜ、anacondaを削除したのかといえば、macOSのアップデートのための領域がなかったから。
Last login: Wed Oct 10 16:44:09 on console
$ conda install anaconda-clean
Solving environment: done
## Package Plan ##
environment location: /anaconda3
added / updated specs:
- anaconda-clean
The following packages will be downloaded:
package | build
---------------------------|-----------------
anaconda-clean-1.1.0 | py37_1 7 KB
The following NEW packages will be INSTALLED:
anaconda-clean: 1.1.0-py37_1
Proceed ([y]/n)? y
Downloading and Extracting Packages
anaconda-clean-1.1.0 | 7 KB | ##################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
$ anaconda-clean
Delete .anaconda? (y/n): y
Backup directory: /Users/ユーザ名/.anaconda_backup/2018-10-10T164906
Delete .conda? (y/n): y
Delete .condarc? (y/n): y
Delete .idlerc? (y/n): y
Delete .ipynb_checkpoints? (y/n): y
Delete .ipython? (y/n): y
Delete .jupyter? (y/n): y
anacondaはインストールするときにパスを追加するので、その部分だけを削除する。つまり
$ open ~/.bash_profile
を編集。
$
その後後で、anacondaというフォルダを削除。
なぜ、anacondaを削除したのかといえば、macOSのアップデートのための領域がなかったから。
Hands-On Data Science with Anaconda
- 作者: Dr Yuxing Yan
- 出版社/メーカー: Packt Publishing
- 発売日: 2018/05/31
- メディア: ペーパーバック