jupyter nootbook が新規作成や保存できない時の解決方法

    • エラー内容:

 

    • [An error occurred while creating a new notebook.]

 

    • [Not Found]

 

    bash環境にjupyter のconfigファイルを作成する
$ jupyter notebook --generate-config
    • jupyterのconfigファイルに「NotebookApp.allow_origin」のような設定項目を見つけて

 

    値に[*]を指定する
## Set the Access-Control-Allow-Origin header
#  
#  Use '*' to allow any origin to access your server.
#  
#  Takes precedence over allow_origin_pat.
#c.NotebookApp.allow_origin = ''
c.NotebookApp.allow_origin = '*'
广告
将在 10 秒后关闭
bannerAds