本日最新のanaconda navigatorをインストールして、jupyter notebookをlauchさせたところ、以下のエラーメッセージを吐いたまま停止しました。権限周りのエラーなのはわかるのですが、解決しません。。。
同じような状況になった人いますか?
shellはfishを使っています。
macOS Catalina 10.15
toshiki@MacBook-Pro ~> /Users/toshiki/opt/anaconda3/envs/physics_presentation/bin/jupyter_mac.command ; exit;
Traceback (most recent call last):
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/traitlets/traitlets.py", line 528, in get
value = obj._trait_values[self.name]
KeyError: 'runtime_dir'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/bin/jupyter-notebook", line 11, in <module>
sys.exit(main())
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/jupyter_core/application.py", line 268, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/traitlets/config/application.py", line 663, in launch_instance
app.initialize(argv)
File "</Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/decorator.py:decorator-gen-7>", line 2, in initialize
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/notebook/notebookapp.py", line 1676, in initialize
self.init_configurables()
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/notebook/notebookapp.py", line 1349, in init_configurables
connection_dir=self.runtime_dir,
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/traitlets/traitlets.py", line 556, in get
return self.get(obj, cls)
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/traitlets/traitlets.py", line 535, in get
value = self._validate(obj, dynamic_default())
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/jupyter_core/application.py", line 99, in _runtime_dir_default
ensure_dir_exists(rd, mode=0o700)
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/site-packages/jupyter_core/utils/init.py", line 13, in ensure_dir_exists
os.makedirs(path, mode=mode)
File "/Users/toshiki/opt/anaconda3/envs/physics_presentation/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/Users/toshiki/Library/Jupyter/runtime'
[プロセスが完了しました]
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。