0
0

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 3 years have passed since last update.

Mac > install anaconda メモ

Last updated at Posted at 2021-09-25

メモというか殴り書きです。すみません。

brewでinstall

brew install

$ brew install pyenv
$ pyenv -v

...
	pyenv 2.0.7

install可能なリストを表示

$ pyenv install -l | grep anaconda

...
  anaconda3-5.2.0
  anaconda3-5.3.0
  anaconda3-5.3.1

今回は5.3.1をinstall

$ pyenv install anaconda3-5.3.1

$ pyenv versions
...
* system
  anaconda3-5.3.1 (set by /Users/atsu/.pyenv/version)

現在のpythonバージョン確認

$ python --version
Python 2.7.16

zshの設定

zshの設定

echo 'eval "$(pyenv init --path)"' >> ~/.zshrc

変更を反映

exec $SHELL -l

anaconda3-5.3.1をアクティブにする

$ pyenv global anaconda3-5.3.1
$ pyenv versions
...
  system
* anaconda3-5.3.1 (set by /Users/atsu/.pyenv/version)

pythonバージョン確認

python

$ python --version
Python 3.7.0

conda

conda

$ conda --v
conda 4.5.11

create

conda create --name py python=3.7 anaconda
Solving environment: done

中略
    zope.interface:                     5.3.0-py37h9ed2024_0
    zstd:                               1.4.5-h41d2c2f_0

Proceed ([y]/n)?

update conda

conda update -n base -c defaults conda
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?