1
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 1 year has passed since last update.

jupyterlab仮想環境構築

Posted at

jupyterlabで仮想環境構築する際、カーネルへの追加方法をいつも探し回るので備忘録

参考:

下記を入力で仮想環境を構築

conda create -n 名前 python=3.8 jupyterlab

仮想環境へ移動

activate 名前

カーネルに追加

ipython kernel install --user --name=名前 --display-name=名前

パッケージのアップデートorバージョンを変えたい場合

conda update python

バージョン指定

conda install python=3.8.5

jupyterlab起動時のエラー

ModuleNotFoundError: No module named 'traitlets.utils.descriptions

補足
上記パッケージをインストールしようとしても、condaではそれインストールできないよと怒られる。原因はよくわからんが、下記のように再インストールで解決できる模様。

conda install -c conda-forge jupyter_client=7.1.0 jupyter_server=1.13.1  --force-reinstall
1
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
1
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?