Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue starting Kernel on MacOS (argument of type 'NoneType' is not iterable) #186

Open
emerzari opened this issue Mar 14, 2021 · 2 comments

Comments

@emerzari
Copy link

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

@dsblank
Copy link
Member

dsblank commented Mar 15, 2021

It could be that there are no graphics backends installed:

toolkits = e.eval('available_graphics_toolkits', silent=True)[8:]

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.

@Recontech
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants