Skip to content

Conversation

@indigoviolet
Copy link

In some situations, jupyter kernelspec list --json produces stderr warnings like

[ListKernelSpecs] WARNING | Native kernel (python3) is not available

which leads to a JSON parsing error

This change discards the stderr.

In some situations, `jupyter kernelspec list --json` produces stderr warnings like

```
[ListKernelSpecs] WARNING | Native kernel (python3) is not available
```
which leads to a JSON parsing error

This change discards the stderr.
@nnicandro
Copy link
Collaborator

Thanks for this but I prefer #418. I think discarding stderr completely in jupyter-command is a bit overkill. There may be a case for looking at the stderr messages if they do happen in other calls to jupyter-command. Although there aren't any such cases at the moment.

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

Successfully merging this pull request may close these issues.

2 participants