问题
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