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

Jupyter Lab を仮想環境で動かす

Posted at

やりたいこと

jupyuter Labを仮想環境上で動かしたい!

結論

ipykernelをインストールして仮想環境のカーネルをJupyterに追加しておく。

方法

  1. まずはipykernelをインストールする。
pip install ipykernel
  1. 仮想環境を作成する
conda create -n JupyterLab python=3.8
  1. JupyterLabにカーネルを追加する
python -m ipykernel install --user --name=JupyterLab

カーネルが作成されて起動させることができるようになりました。

スクリーンショット 2023-02-02 12.00.24.png

カーネルを削除したいときは?

jupyter kernelspec uninstall JupyterLab
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?