简体   繁体   English

Octave kernel 总是很忙或坏了 jupyter 实验室

[英]Octave kernel is always busy or broken jupyter lab

so I am trying to set up octave in jupyter lab/note using conda install -c conda-forge octave_kernel command from anaconda anddd it works and its downloaded, BUT,.!所以我正在尝试使用 anaconda 中的 conda conda install -c conda-forge octave_kernel命令在 jupyter lab/note 中设置八度音程,并且它可以工作并且下载它,但是,.! when I launch jupyter the kernel is always busy and/or disconnects, so I used the command below to check on the kernel as seen.当我启动 jupyter 时,kernel 总是很忙和/或断开连接,所以我使用下面的命令检查 kernel,如图所示。

python -m octave_kernel.check
Octave kernel v0.34.2
Metakernel v0.29.0
Python v3.10.4 | packaged by conda-forge | (main, Mar 24 2022, 17:32:50) [MSC v.1929 64 bit (AMD64)]
Python path: C:\Users\\anaconda3\envs\O_R\python.exe

Connecting to Octave...
Octave connection established
octave not found, please see README

what does octave not found, please see README mean? octave not found, please see README是什么意思? it already said Octave connection established它已经说过Octave connection established

'please see README' refers to the octave-kernel readme: “请参阅自述文件”指的是 octave-kernel 自述文件:

https://github.com/Calysto/octave_kernel/blob/master/README.rst https://github.com/Calysto/octave_kernel/blob/master/README.rst

The error is raised in octave_kernel/kernel.py: if not executable: raise OSError('octave not found, please see README')在 octave_kernel/kernel.py 中引发错误:如果不可执行:raise OSError('octave not found, please see README')

You can try adding OCTAVE_EXECUTABLE =.../bin/octave-cli.exe to your environment variables and reboot.您可以尝试将 OCTAVE_EXECUTABLE =.../bin/octave-cli.exe 添加到您的环境变量并重新启动。

Gregory格雷戈里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM