Home > other >  Start the jupyterlab how can appear such problem
Start the jupyterlab how can appear such problem

Time:09-24


Inquired by anaconda start jupyterlab how can appear such problems, how do I solve

CodePudding user response:

Traceback (the most recent call last) :
The File "F: \ anaconda \ Scripts \ jupyter - lab - script. Py", line 5, in
The from jupyterlab. Labapp import main
The File "F: \ anaconda \ lib \ site - packages \ jupyterlab \ labapp py", line 14, in
The from jupyterlab_server import slugify, WORKSPACE_EXTENSION
The File F: \ "anaconda \ lib \ site - packages \ jupyterlab_server \ set py", line 4, in
From the app import LabServerApp
The File "F: \ anaconda \ lib \ site - packages \ jupyterlab_server \ app. Py", line 9, in
From the server import ServerApp
The File "F: \ anaconda \ lib \ site - packages \ jupyterlab_server \ server py", line 20,
inThe from notebook. Notebookapp import aliases, flags, notebookapp as ServerApp
The File "F: \ anaconda \ lib \ site - packages \ notebook \ notebookapp py", line 80, in
From the services. The contents. The manager import ContentsManager
File "F: \ anaconda \ lib \ site - packages \ notebook \ services \ contents \ manager py", line 17, in
The from nbformat import signs and validate the as validate_nb, ValidationError
The File F: \ "anaconda \ lib \ site - packages \ nbformat \ set py", line 32, in
From the validator import validate, ValidationError
The File F: \ "anaconda \ lib \ site - packages \ nbformat \ the validator py", line 12, in
The from jsonschema import ValidationError
The File F: \ "anaconda \ lib \ site - packages \ jsonschema \ set py", line 11, in
The from jsonschema. Exceptions import (
The File "F: \ anaconda \ lib \ site - packages \ jsonschema \ exceptions py", line 152, in
@ attr. S (hash=True)
AttributeError: module 'attr' has no attribute 's'

CodePudding user response:

I also appears the same problem, after a query on the Internet, use the following methods to solve, can try to use the first command PIP uninstall attr uninstall, then PIP install attrs this installation, successfully solved, can login jupter notebook, at the same time when using the Spyder, the login prompt, You have missing dependencies. Nbconvert & gt;=4.0: None (NOK)
Both Please install them to get this message.
Also not appear,
  • Related