1
1

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 5 years have passed since last update.

[メモ] Jupyter Notebook のショートカットを変更したら動かなくなった問題の解決法

1
Posted at

Winsows に Jupyter Notebook をインストール後、ショートカットのプロパティを変更したら起動しなくなった。元に戻しても直らない場合の原因と修正方法のメモ。

原因

Windows のショートカットのパス長には上限があり、インストール時に設定されるショートカットはそれを超えてる場合があるため(インストールパス次第)、変更後、OKを押すと、パスが途中で切れてもはや起動しなくなる。

修正方法

環境変数に %ANACONDA% という名前で anaconda3 のインストールパスを登録し、
パス上にある anaconda3 のパスをすべて置き換える。具体的には下記のようになる。

%ANACONDA%\python.exe %ANACONDA%\cwp.py %ANACONDA% %ANACONDA%\python.exe %ANACONDA%\Scripts\jupyter-notebook-script.py "ルートとなるディレクトリ"
1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?