anacndaサブ環境管理
anaconda仮想環境の作成と削除
liberyuという名前で作成tfの仮想環境であり、pythonバージョンはpython 3である.6
liberyuという名前を削除tfの仮想環境
anaconda仮想環境はjupyterで呼び出せません
liberyuをアクティブにするtfの仮想環境をインストールし、この環境でipykernelをインストールし、jupyterにtemp_という名前を付けます.liberyu_tfの名前はjupyter notebookの環境に表示され、この環境は現在のliberyu_と表示されます.tfという環境は対応している.
jupyterの仮想環境の削除
削除jupyterのtemp_という名前liberyu_tfの環境
liberyuという名前で作成tfの仮想環境であり、pythonバージョンはpython 3である.6
$ conda create -n liberyu_tf python=3.6
liberyuという名前を削除tfの仮想環境
$ conda remove -n liberyu_tf --all
anaconda仮想環境はjupyterで呼び出せません
liberyuをアクティブにするtfの仮想環境をインストールし、この環境でipykernelをインストールし、jupyterにtemp_という名前を付けます.liberyu_tfの名前はjupyter notebookの環境に表示され、この環境は現在のliberyu_と表示されます.tfという環境は対応している.
$ source activate liberyu_tf
$ conda install ipykernel
$ python -m ipykernel install --user --name temp_liberyu_tf
jupyterの仮想環境の削除
削除jupyterのtemp_という名前liberyu_tfの環境
$ jupyter kernelspec remove temp_liberyu_tf