E.K.
E.K.

Reputation: 4349

Jupyter does not create a new notebook under the current directory

I updated my Jupyter Notebook and it does not create a new notebook under the current directory as it used to. Instead, it always creates a new notebook under the start-up directory.This happens on my Mac and Windows computers. How can I fix this?

1) Creating a new notebook under project1

enter image description here

2) A new notebook was successfully created

enter image description here

3) However, this notebook was created under the jupyter start-up directory rather than project1

enter image description here

Jupyter did not behave like this before. Is this a bug or intended behavior?

Here are my Jupyter related package versions.

# Name                    Version                   Build  Channel
jupyter                   1.0.0            py36h598a6cc_0
jupyter_client            5.2.2                    py36_0
jupyter_console           5.2.0            py36hccf5b1c_1
jupyter_contrib_core      0.3.3                    py36_1    conda-forge
jupyter_contrib_nbextensions 0.3.3                    py36_0    conda-forge
jupyter_core              4.4.0            py36h79cf704_0
jupyter_highlight_selected_word 0.1.0                    py36_0    conda-forge
jupyter_latex_envs        1.4.0                    py36_1    conda-forge
jupyter_nbextensions_configurator 0.4.0                    py36_0    conda-forge
jupyterlab                0.27.0           py36hd3092eb_2
jupyterlab_launcher       0.4.0            py36h93e02e9_0
notebook                  5.3.1                    py36_1

Upvotes: 1

Views: 1105

Answers (2)

E.K.
E.K.

Reputation: 4349

Per ilyas's advice, updated my notebook to 5.4.0 and this issue was resolved.

Upvotes: 1

ilyas
ilyas

Reputation: 629

Solution: Run
conda update conda

And then:

conda update --all

in your anaconda prompt. There are recent updates to jupyter that will fix this issue.

Upvotes: 0

Related Questions