运行jupyter版本时出错:如何在Windows上为jupyter安装ijavascript

2024-03-29 11:36:25 发布

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

上面写着https://www.npmjs.com/package/ijavascript

In Windows, Anaconda offers a convenient distribution to install Python and many other packages, such as Jupyter and IJavascript.

但这并没有解释。在Python网站上都没有(一旦Python已经安装)。在

更新:我知道

npm install -g ijavascript
ijsinstall

但是Linux有什么区别呢?因为我得到了这个错误,我认为Windows上有一些特定的东西。在

Error running jupyter --version Error: Command failed: jupyter --version 'jupyter' is not recognized as an internal or external command, operable program or batch file.


Tags: installorandinhttpscompackageversion
2条回答

它可能应该说“比如Jupyter,IJavascript可以在哪里运行”,但是just like the documentation says

  1. 水蟒为你安装Jupyter
  2. 您需要Nodejs和NPM才能使ijavascript正常工作

那么

npm install -g ijavascript

其次是

^{pr2}$

您需要从Anaconda提示符运行jupyter,或者将Anaconda的可执行二进制文件添加到PATH(这是安装过程中的一个选项)。由于该错误直接来自CMD,它实际上与Anaconda、Jupyter或ijavascript无关,而是缺少一些操作系统设置

在命令shell中运行“pip3 install jupyter”。在

浏览一下这个网站可以得到一些帮助。谷歌和YouTube将是非常好的朋友来建立这个系统。在

tutorial

相关问题 更多 >