(base) c:\Anaconda>jupyter labextension install @jupyter-widgets/jupyter-manager --debug
Searching ['c:\\Anaconda', 'C:\\Users\\cyunp\\.jupyter', 'C:\\Anaconda\\etc\\jupyter', 'C:\\ProgramData\\jupyter'] for config files
Looking for jupyter_config in C:\ProgramData\jupyter
Looking for jupyter_config in C:\Anaconda\etc\jupyter
Looking for jupyter_config in C:\Users\cyunp\.jupyter
Looking for jupyter_config in c:\Anaconda
Node v11.11.0
> .\npm.CMD pack @jupyter-widgets/jupyter-manager
'.\npm.CMD' is not recognized as an internal or external command,operable program or batch file.
Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\jupyterlab\labextensions.py", line 77, in start
ans = self.run_task()
File "C:\Anaconda\lib\site-packages\jupyterlab\labextensions.py", line 106, in run_task
for arg in self.extra_args
File "C:\Anaconda\lib\site-packages\jupyterlab\labextensions.py", line 106, in <listcomp>
for arg in self.extra_args
File "C:\Anaconda\lib\site-packages\jupyterlab\commands.py", line 219, in install_extension
return handler.install_extension(extension)
File "C:\Anaconda\lib\site-packages\jupyterlab\commands.py", line 418, in install_extension
info = self._install_extension(extension, tempdir)
File "C:\Anaconda\lib\site-packages\jupyterlab\commands.py", line 1250, in _install_extension
info = self._extract_package(extension, tempdir)
File "C:\Anaconda\lib\site-packages\jupyterlab\commands.py", line 1321, in _extract_package
raise ValueError(msg % source)
ValueError: "@jupyter-widgets/jupyter-manager" is not a valid npm package
Errored, use --debug for full output:
ValueError: "@jupyter-widgets/jupyter-manager" is not a valid npm package
В приведенном выше разделе содержится результат команды в Anaconda.
Проверяется, виден ли npm
(базовый) C: \ windows \ system32> cd c: \ Anaconda
(база) c: \ Anaconda> npm - версия
нпм не виден
(база) c: \ Anaconda> узел - версия
v11.11.0
(база) c: \ Anaconda> юпитер - версия
4.4.0
(база) c: \ Anaconda>
при запуске команды conda list
nodejs есть в списке, но не npm
работает Конда на Windows 10
набрано в 'jupyter lab'
(base) c:\Anaconda>jupyter lab
[I 10:15:28.309 LabApp] Writing notebook server cookie secret to C:\Users\cyunp\AppData\Roaming\jupyter\runtime\notebook_cookie_secret
[I 10:15:40.645 LabApp] JupyterLab extension loaded from C:\Anaconda\lib\site-packages\jupyterlab
[I 10:15:40.645 LabApp] JupyterLab application directory is C:\Anaconda\share\jupyter\lab
[W 10:15:40.653 LabApp] JupyterLab server extension not enabled, manually loading...
[I 10:15:40.695 LabApp] JupyterLab extension loaded from C:\Anaconda\lib\site-packages\jupyterlab
[I 10:15:40.696 LabApp] JupyterLab application directory is C:\Anaconda\share\jupyter\lab
[I 10:15:40.698 LabApp] Serving notebooks from local directory: c:\Anaconda
[I 10:15:40.698 LabApp] The Jupyter Notebook is running at:
[I 10:15:40.699 LabApp] http://localhost:8888/?token=69c77c782051958a50b2352ae49031eb8aecd7c9fdbf0cbc
[I 10:15:40.700 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 10:15:41.008 LabApp]
To access the notebook, open this file in a browser:
file:///C:/Users/cyunp/AppData/Roaming/jupyter/runtime/nbserver-7404-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=69c77c782051958a50b2352ae49031eb8aecd7c9fdbf0cbc
[I 10:16:01.985 LabApp] Node v11.11.0
[W 10:16:07.955 LabApp] Build recommended
[W 10:16:07.968 LabApp] jupyter-matplotlib needs to be included in build
[W 10:16:07.997 LabApp] 404 GET /lab/api/workspaces/lab?1554398160130 (::1): Workspace 'lab' ('lab-a511') not found
[W 10:16:08.006 LabApp] Workspace 'lab' ('lab-a511') not found
[W 10:16:08.013 LabApp] 404 GET /lab/api/workspaces/lab?1554398160130 (::1) 38.01ms referer=http://localhost:8888/lab
[I 10:16:23.209 LabApp] Node v11.11.0
[I 10:16:26.539 LabApp] > node C:\Anaconda\lib\site-packages\jupyterlab\staging\yarn.js install
'.\node.EXE' is not recognized as an internal or external command,
operable program or batch file.
[I 10:16:27.905 LabApp] > node C:\Anaconda\lib\site-packages\jupyterlab\staging\yarn.js run build
'.\node.EXE' is not recognized as an internal or external command,
operable program or batch file.
[I 10:16:38.492 LabApp] Node v11.11.0
```