Skip to content

incorrect kernelspec causes failures. #121

@flamingbear

Description

@flamingbear

In reviewing #116, I couldn't run the notebook and and it looked like it was failing to find the correct conda env.

./run_notebooks.sh sambah
<[snip]>
RuExecuting:   0%|          | 0/25 [00:00<?, ?cell/s]Kernelspec name papermill-sambah cannot be found!
No such kernel named papermill-sambah

Investigation showed ipython notebook had an unexpected kernelspec.

The samba metadata in the ipython notebook was:

"kernelspec": {
"display_name": "papermill-sambah",
"language": "python",
"name": "papermill-sambah"

vs the spec in a working notebook

  "celltoolbar": "Tags",
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },

Changing the name to python3 enabled the test to run correctly.

Danny said he had generated he .ipynb file via jupyterlab. I think that's a good place to start, but we should fix this so that it doesn't matter how you generated the iPython notebook test file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions