I take the last update from Anaconda and when try to open the JupyterLab I have the following error

Traceback (most recent call last):
File “C:\Users\User\anaconda3\Scripts\jupyter-lab-script.py”, line 6, in
from jupyterlab.labapp import main
File “C:\Users\User\anaconda3\lib\site-packages\jupyterlab_init_.py”, line 7, in
from .handlers.announcements import ( # noqa
File “C:\Users\User\anaconda3\lib\site-packages\jupyterlab\handlers\announcements.py”, line 15, in
from jupyterlab_server.translation_utils import translator
File “C:\Users\User\anaconda3\lib\site-packages\jupyterlab_server_init_.py”, line 6, in
from .app import LabServerApp
File “C:\Users\User\anaconda3\lib\site-packages\jupyterlab_server\app.py”, line 10, in
from jupyter_server.extension.application import ExtensionApp, ExtensionAppJinjaMixin
File “C:\Users\User\anaconda3\lib\site-packages\jupyter_server\extension\application.py”, line 12, in
from jupyter_server.serverapp import ServerApp
File “C:\Users\User\anaconda3\lib\site-packages\jupyter_server\serverapp.py”, line 64, in
from nbformat.sign import NotebookNotary
File “C:\Users\User\anaconda3\lib\site-packages\nbformat_init_.py”, line 11, in
from . import v1, v2, v3, v4
File “C:\Users\User\anaconda3\lib\site-packages\nbformat\v4_init_.py”, line 23, in
from .convert import downgrade, upgrade
File “C:\Users\User\anaconda3\lib\site-packages\nbformat\v4\convert.py”, line 11, in
from nbformat import v3, validator
File “C:\Users\User\anaconda3\lib\site-packages\nbformat\validator.py”, line 16, in
from .json_compat import ValidationError, validator_for_name, get_current_validator
File “C:\Users\User\anaconda3\lib\site-packages\nbformat\json_compat.py”, line 11, in
import jsonschema
File "C:\Users\User\AppData\Roaming\Python\Python38\site-packages\jsonschema_init
.py", line 21, in
from jsonschema._types import TypeChecker
File “C:\Users\User\AppData\Roaming\Python\Python38\site-packages\jsonschema_types.py”, line 3, in
from pyrsistent import pmap
ModuleNotFoundError: No module named ‘pyrsistent’

This means your environment is missing packages. It looks like the update. This isn’t related to jupyter, but your Python installation in general. You can try conda update or conda install to ad the missing packages (the error suggests that pyrsistent is missing and required, so conda install pyrsistent may solve your problem, but it may only be one package of many that’s missing). You can also try pip check to check for unmet dependencies.

In general, this is a question for Anaconda Support, not Jupyter.

2 Likes