jupyter notebook_启动出错_ValueError: Please install nodejs 5+ and npm before continuing installation.

本文主要是介绍jupyter notebook_启动出错_ValueError: Please install nodejs 5+ and npm before continuing installation.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

错误描述:

在启动jupyter notebook的时候虽然能进入Home,但是后台还是报错,如下:

[W 11:03:21.011 NotebookApp] Error loading server extension jupyterlabTraceback (most recent call last):File "E:\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 321, in__init__self._run(['node', 'node-version-check.js'], cwd=HERE, quiet=True)File "E:\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 1165, i
n _runproc = Process(cmd, **kwargs)File "E:\Anaconda3\lib\site-packages\jupyterlab\process.py", line 73, in _
_init__self.proc = self._create_process(cwd=cwd, env=env)File "E:\Anaconda3\lib\site-packages\jupyterlab\process.py", line 131, in
_create_processcmd[0] = which(cmd[0], kwargs.get('env'))File "E:\Anaconda3\lib\site-packages\jupyterlab\jlpmapp.py", line 59, in w
hichraise ValueError(msg)ValueError: Please install nodejs 5+ and npm before continuing installation.nodejs may be installed using conda or directly from the nodejs website.During handling of the above exception, another exception occurred:Traceback (most recent call last):File "E:\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 1454,
in init_server_extensionsfunc(self)File "E:\Anaconda3\lib\site-packages\jupyterlab\extension.py", line 111, i
n load_jupyter_server_extensioninfo = get_app_info(app_dir)File "E:\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 244, inget_app_infohandler = _AppHandler(app_dir, logger)File "E:\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 324, in__init__raise ValueError(msg)ValueError: Please install nodejs 5+ and npm before continuing installation.nodejs may be installed using conda or directly from the nodejs website.
[I 11:03:21.336 NotebookApp] Serving notebooks from local directory: C:\Users\Ad
ministrator\Desktop\shuju
[I 11:03:21.338 NotebookApp] 0 active kernels
[I 11:03:21.339 NotebookApp] The Jupyter Notebook is running at:
[I 11:03:21.340 NotebookApp] http://localhost:8888/?token=14172d7abed02b6a0b816a
51fa29f6b44929d2f96b8a1b7f
[I 11:03:21.342 NotebookApp] Use Control-C to stop this server and shut down allkernels (twice to skip confirmation).
[C 11:03:21.350 NotebookApp]Copy/paste this URL into your browser when you connect for the first time,to login with a token:http://localhost:8888/?token=14172d7abed02b6a0b816a51fa29f6b44929d2f96b8
a1b7f
[I 11:03:21.581 NotebookApp] Accepting one-time-token-authenticated connection f
rom ::1
[I 11:15:21.364 NotebookApp] Interrupted...
[I 11:15:21.366 NotebookApp] Shutting down 0 kernels

解决方案:

因为我的电脑上安装了Anaconda,所以我打开Anacoda后

等待系统安装,完成后在cmd命令行中再次输入jupyter notebook,问题解决

 

这篇关于jupyter notebook_启动出错_ValueError: Please install nodejs 5+ and npm before continuing installation.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/308338

相关文章

Redis在windows环境下如何启动

《Redis在windows环境下如何启动》:本文主要介绍Redis在windows环境下如何启动的实现方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录Redis在Windows环境下启动1.在redis的安装目录下2.输入·redis-server.exe

解决SpringBoot启动报错:Failed to load property source from location 'classpath:/application.yml'

《解决SpringBoot启动报错:Failedtoloadpropertysourcefromlocationclasspath:/application.yml问题》这篇文章主要介绍... 目录在启动SpringBoot项目时报如下错误原因可能是1.yml中语法错误2.yml文件格式是GBK总结在启动S

jupyter代码块没有运行图标的解决方案

《jupyter代码块没有运行图标的解决方案》:本文主要介绍jupyter代码块没有运行图标的解决方案,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录jupyter代码块没有运行图标的解决1.找到Jupyter notebook的系统配置文件2.这时候一般会搜索到

SpringBoot启动报错的11个高频问题排查与解决终极指南

《SpringBoot启动报错的11个高频问题排查与解决终极指南》这篇文章主要为大家详细介绍了SpringBoot启动报错的11个高频问题的排查与解决,文中的示例代码讲解详细,感兴趣的小伙伴可以了解一... 目录1. 依赖冲突:NoSuchMethodError 的终极解法2. Bean注入失败:No qu

一文带你了解SpringBoot中启动参数的各种用法

《一文带你了解SpringBoot中启动参数的各种用法》在使用SpringBoot开发应用时,我们通常需要根据不同的环境或特定需求调整启动参数,那么,SpringBoot提供了哪些方式来配置这些启动参... 目录一、启动参数的常见传递方式二、通过命令行参数传递启动参数三、使用 application.pro

SpringBoot项目启动报错"找不到或无法加载主类"的解决方法

《SpringBoot项目启动报错找不到或无法加载主类的解决方法》在使用IntelliJIDEA开发基于SpringBoot框架的Java程序时,可能会出现找不到或无法加载主类com.example.... 目录一、问题描述二、排查过程三、解决方案一、问题描述在使用 IntelliJ IDEA 开发基于

使用国内镜像源优化pip install下载的方法步骤

《使用国内镜像源优化pipinstall下载的方法步骤》在Python开发中,pip是一个不可或缺的工具,用于安装和管理Python包,然而,由于默认的PyPI服务器位于国外,国内用户在安装依赖时可... 目录引言1. 为什么需要国内镜像源?2. 常用的国内镜像源3. 临时使用国内镜像源4. 永久配置国内镜

SpringBoot项目启动错误:找不到或无法加载主类的几种解决方法

《SpringBoot项目启动错误:找不到或无法加载主类的几种解决方法》本文主要介绍了SpringBoot项目启动错误:找不到或无法加载主类的几种解决方法,具有一定的参考价值,感兴趣的可以了解一下... 目录方法1:更改IDE配置方法2:在Eclipse中清理项目方法3:使用Maven命令行在开发Sprin

Nginx启动失败:端口80被占用问题的解决方案

《Nginx启动失败:端口80被占用问题的解决方案》在Linux服务器上部署Nginx时,可能会遇到Nginx启动失败的情况,尤其是错误提示bind()to0.0.0.0:80failed,这种问题通... 目录引言问题描述问题分析解决方案1. 检查占用端口 80 的进程使用 netstat 命令使用 ss

Python Jupyter Notebook导包报错问题及解决

《PythonJupyterNotebook导包报错问题及解决》在conda环境中安装包后,JupyterNotebook导入时出现ImportError,可能是由于包版本不对应或版本太高,解决方... 目录问题解决方法重新安装Jupyter NoteBook 更改Kernel总结问题在conda上安装了