不使用Conda安装jupyter实验室扩展

2024-04-25 07:56:42 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试安装许多jupyter lab extension,但始终收到以下错误:

ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node. js website (https://nodejs.org).

经过一点挖掘,我发现我需要nodejs和npm。但是,在通过pip成功地完全安装了它们之后,我仍然无法运行jupyter lab build。有人说这是因为nodejs必须通过conda安装才能正常工作

有人知道我如何在不安装Conda的情况下让NodeJ和npm继续工作吗?顺便说一句,我正在Windows上运行


Tags: installandfromnodenpm错误extensionlab
1条回答
网友
1楼 · 发布于 2024-04-25 07:56:42

我通过以下方式解决了这个问题:

  1. 在我的计算机(Windows)上安装Node.js
  2. 你正在启动我的电脑

在此之后,我可以运行jupyter labextension install,而不必安装conda

相关问题 更多 >