LoginSignup
3
3

More than 5 years have passed since last update.

pyenv-vertualenvでcondaのenvを特定ディレクトリに適用する

Last updated at Posted at 2015-12-28

Jupyter notebookを開きたいとか特定のディレクトリでcondaを開きたい時有りますよね。
pyenvでinstallしたcondaがベースなら、pyenv-vertualenvで便利にconda envも対応できます!

こういう設定がある時

$ conda env list                                                                                                          ✭ ◼
# conda environments:
#
analysis              *  /Users/chezou/.pyenv/versions/anaconda3-2.1.0/envs/analysis
root                     /Users/chezou/.pyenv/versions/anaconda3-2.1.0

これで設定をすれば、行ける

$ pyenv local anaconda3-2.1.0/envs/env-name

便利

3
3
1

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