Can't create Jupyter Notebook in a subdirectory

依然范特西╮ 提交于 2020-01-16 04:08:05

问题


I am having issues creating a Jupyter Notebook inside a subdirectory. Instead of creating in the subdirectory, it creates in the root path.

Let me exemplify. Let us suppose that I have the following path structure:

Then, I open Subdirectory_1 and asks it to create a Notebook.

But instead of creating it in the Subdirectory_1, it creates in the root path.

And these are the log messages:


回答1:


There is a problem with the nbextensions/widgets/notebook/js/extension.js

Try to update or install again the package :

conda update -c conda-forge ipywidgets

Then this:

jupyter nbextension enable --py widgetsnbextension

source : Github




回答2:


As @thomas-k mentioned in the comments:

There was a bug in notebook 5.3. It should be fixed in 5.4, which is out now on PyPI. Conda packages should follow soon.

More info on this GitHub issue.



来源:https://stackoverflow.com/questions/48429807/cant-create-jupyter-notebook-in-a-subdirectory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!