octave_kernel
octave_kernel copied to clipboard
Issue starting Kernel on MacOS (argument of type 'NoneType' is not iterable)
I tried installing this. I was able to launch a new octave notebook, but the kernel keeps failing at launch.
I get this error when doing python3 -m octave_kernel.check. The error is rather non-descriptive. Has anyone encountered it?
$ python3 -m octave_kernel.check
Octave kernel v0.32.0 Metakernel v0.27.5 Python v3.9.2 (default, Feb 24 2021, 13:26:01) [Clang 11.0.0 (clang-1100.0.33.17)] Python path: /usr/local/opt/[email protected]/bin/python3.9
Connecting to Octave... Octave connection established argument of type 'NoneType' is not iterable
It could be that there are no graphics backends installed:
https://github.com/Calysto/octave_kernel/blob/a613c29f40e22b1751164bca30df381799539f06/octave_kernel/check.py#L18
I just leave this hint for now, and perhaps someone can clean up that code a bit, or I can have a look in the next few days.
Has this problem been solved? I have the same problem:
python -m octave_kernel.check Octave kernel v0.32.0 Metakernel v0.27.5 Python v3.9.7 | packaged by conda-forge | (default, Sep 29 2021, 19:24:02) [Clang 11.1.0 ] Python path: /Users/ben/miniforge3/envs/tensorflow/bin/python
Connecting to Octave... Octave connection established argument of type 'NoneType' is not iterable