michael-quinlan / jupyter-bazel

Example of using bazel deps in a jupyter notebook
MIT License
14 stars 5 forks source link

Recent versions of python notebook package have API changes #4

Open asymingt opened 3 months ago

asymingt commented 3 months ago

I found that in more recent versions of notebook you'll need to change this:

from notebook.notebookapp import main

... to this ...

from notebook.app import main

... or else you will get a ModuleImportError.

michael-quinlan commented 3 months ago

Yes, I found some changes like this and fixed in my main (mono) repo. I'll back port some changes to this public example code.

Thanks!