LoginSignup
0
0

More than 1 year has passed since last update.

Jupyter NotebookでなくJupyter Labを起動する方法

Last updated at Posted at 2022-04-15

Windows環境でAnacondaをインストールしてJupyterを使おうとしたらJupyter NotebookとJupyter Labがあることに気づいた。
スタートメニューから起動するとJupyter Notebookが起動するが、新しいのはJupyter Labらしいので設定を変更してJupyter Labが起動するように変更した。

  1. Anaconda Promptを開いて設定ファイルを生成。
    jupyter notebook --generate-config
    
  2. C:\Users\ユーザ名\.jupyter\jupyter_notebook_config.pyが作られているので開く。
  3. 下記のところをlabに書き換える。
    c.NotebookApp.default_url = '/lab'
    

設定ファイルは.pyなので行頭に余計なスペースなどが入るとエラーで設定が有効にならない。

追記。。
Jupyter LabはWindowsでAnacondaをインストールした環境で確認しました。純粋にJupyter Notebookをインストールした場合などはその限りではありません(404になりました)。

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