LoginSignup
4
5

More than 5 years have passed since last update.

anacondaで作成した環境からjupyter notebookを使う

Last updated at Posted at 2017-02-25

まとめ

conda create -n xxx python=3.6 jupyter
source activate xxx
conda install -c conda-forge tensorflow yapf
conda install pillow
pip install environment-kernels
jupyte notebook --generate-config

~/.jupyter/jupyter_notebook_config.pyを編集する。

# ここは書き換える
c.NotebookApp.kernel_spec_manager_class = 'environment_kernels.EnvironmentKernelSpecManager'
# ここは追加
c.EnvironmentKernelSpecManager.env_dirs=['~/anaconda/envs']

jupyte notebookで立ち上げてからNew->Notebookで好きな環境を選ぶ。以上。

4
5
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
4
5