Open BernieTGN opened 3 years ago
ModuleNotFoundError: No module named 'jupyter_server'
It looks like an issue when creating the environment?
As an alternative we would suggest using the 3.0 release of JupyterLab, which now includes the debugger by default.
Installation steps are also simplified and don't require nodejs
:
conda create -n jupyterlab-debugger -c conda-forge xeus-python=0.9 jupyterlab=3
conda activate jupyterlab-debugger
Hi, I am trying to install on Windows 10 with the following statements:
conda create -n jupyterlab-debugger -c conda-forge xeus-python=0.8.0 notebook=6 jupyterlab=2 ptvsd nodejs
conda activate jupyterlab-debugger
jupyter labextension install @jupyterlab/debugger
but I got the following error message:
"_(jupyterlab-debugger) C:\Users\Patricia>jupyter labextension install @jupyterlab/debugger Traceback (most recent call last): File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\jupyterlab_server\server.py", line 20, in
from notebook.notebookapp import aliases, flags, NotebookApp as ServerApp
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\notebook\notebookapp.py", line 51, in
from zmq.eventloop import ioloop
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\zmq__init.py", line 50, in
from zmq import backend
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\zmq\backend__init__.py", line 40, in
reraise(*exc_info)
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\zmq\backend__init__.py", line 27, in
_ns = select_backend(first)
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\zmq\backend\select.py", line 28, in select_backend
mod = import__(name, fromlist=public_api)
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\zmq\backend\cython__init__.py", line 6, in
from . import (constants, error, message, context,
ImportError: DLL load failed: No se puede encontrar el módulo especificado.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\Scripts\jupyter-labextension-script.py", line 5, in
from jupyterlab.labextensions import main
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\jupyterlab\labextensions.py", line 16, in
from .commands import (
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\jupyterlab\commands.py", line 29, in
from jupyterlab_server.process import which, Process, WatchHelper, list2cmdline
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\jupyterlab_server__init__.py", line 4, in
from .app import LabServerApp
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\jupyterlab_server\app.py", line 9, in
from .server import ServerApp
File "C:\Users\Patricia\Anaconda3\envs\jupyterlab-debugger\lib\site-packages\jupyterlab_server\server.py", line 26, in
from jupyter_server.base.handlers import ( # noqa
ModuleNotFoundError: No module named 'jupyter_server'
(jupyterlab-debugger) C:\Users\Patricia>_"
I would appreciate your help to know what I am doing wrong.
Thanks,