'Juypter will not launch from Anaconda

When launching Juypter from Anaconda I receive the following error message:

Traceback (most recent call last): File "C:\Users\ceo20\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in from notebook.notebookapp import main File "C:\Users\ceo20\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 80, in from .services.kernels.kernelmanager import MappingKernelManager File "C:\Users\ceo20\Anaconda3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 19, in from jupyter_client.session import Session File "C:\Users\ceo20\Anaconda3\lib\site-packages\jupyter_client__init__.py", line 4, in from .connect import * File "C:\Users\ceo20\Anaconda3\lib\site-packages\jupyter_client\connect.py", line 35, in from jupyter_core.paths import jupyter_data_dir, jupyter_runtime_dir, secure_write ImportError: cannot import name 'secure_write' from 'jupyter_core.paths' (C:\Users\ceo20\Anaconda3\lib\site-packages\jupyter_core\paths.py)

Any thoughts?



Solution 1:[1]

Try this in Anaconda prompt

pip install --upgrade jupyter_client

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Prathik Kini