每当我尝试从JupyterLab上的扩展程序GUI安装databrickslabs-jupyterlab-statusbar
或jupyterlab-plyto
时,都会出现此错误:Error: 500 (Internal Server Error)
我尝试使用jupyter labextension install databrickslabs-jupyterlab-statusbar
从命令行安装它,但是出现以下错误:
An error occured.
FileNotFoundError: [WinError 2] The system cannot find the file specified
See the log file for details: C:\Users\Foo\AppData\Local\Temp\jupyterlab-debug-xbv5956n.log
以下是日志文件的内容:
Node v12.18.3
Yarn configuration loaded.
> "C:\Program Files\nodejs\npm.CMD" pack C:\Users\nonie
Traceback (most recent call last):
File "c:\python\lib\site-packages\jupyterlab\debuglog.py", line 47, in debug_logging
yield
File "c:\python\lib\site-packages\jupyterlab\labextensions.py", line 93, in start
ans = self.run_task()
File "c:\python\lib\site-packages\jupyterlab\labextensions.py", line 138, in run_task
return any([
File "c:\python\lib\site-packages\jupyterlab\labextensions.py", line 139, in <listcomp>
install_extension(
File "c:\python\lib\site-packages\jupyterlab\commands.py", line 388, in install_extension
return handler.install_extension(extension, pin=pin)
File "c:\python\lib\site-packages\jupyterlab\commands.py", line 603, in install_extension
info = self._install_extension(extension, tempdir, pin=pin)
File "c:\python\lib\site-packages\jupyterlab\commands.py", line 1499, in _install_extension
info = self._extract_package(extension, tempdir, pin=pin)
File "c:\python\lib\site-packages\jupyterlab\commands.py", line 1575, in _extract_package
ret = self._run([which('npm'), 'pack', source], cwd=tempdir)
File "c:\python\lib\site-packages\jupyterlab\commands.py", line 1751, in _run
proc = ProgressProcess(cmd, **kwargs)
File "c:\python\lib\site-packages\jupyterlab\commands.py", line 83, in __init__
self.proc = self._create_process(
File "c:\python\lib\site-packages\jupyterlab_server\process.py", line 178, in _create_process
proc = subprocess.Popen(cmd, **kwargs)
File "c:\python\lib\subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "c:\python\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
Exiting application: jupyter
有人可以帮忙吗?