Conda 没有识别出我安装了节点?

Her*_*er0 10 node.js jupyter-lab anaconda3

我打开终端。

jupyter labextension install @jupyterlab/github

An error occured.
ValueError: Please install nodejs >=10.0.0 before continuing. nodejs may be installed using conda or directly from the nodejs website.
See the log file for details
Run Code Online (Sandbox Code Playgroud)

然而:

node -v

v14.5.0

发生了什么,我如何让 conda 找到我的节点?

小智 26

我有一个类似的问题,安装完整包后解决了:

conda install -c conda-forge nodejs
conda install -c conda-forge/label/gcc7 nodejs
conda install -c conda-forge/label/cf201901 nodejs
conda install -c conda-forge/label/cf202003 nodejs

  • 这将安装不同版本的node.js。我发现最后一行安装了通过 conda 提供的最新版本。v12.4.0 (2认同)

d4r*_*ush 8

我有同样的问题。问题是我在我的 conda 包管理器系统中都安装了nodejs 。我删除了其中之一(conda nodejs 包),问题就解决了。