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

ModuleNotFoundError after pip install notebook==7.0.0 #6802

Closed
KayjiYu opened this issue Mar 28, 2023 · 7 comments
Closed

ModuleNotFoundError after pip install notebook==7.0.0 #6802

KayjiYu opened this issue Mar 28, 2023 · 7 comments

Comments

@KayjiYu
Copy link

KayjiYu commented Mar 28, 2023

I upgrade notebook to V7 by pip install notebook==7.0.0a17.
I typed jupyter notebook in Mac terminal as usual but error occurs saying ModuleNotFoundError: No module named 'notebook.notebookapp'.
Anyone know how to deal with it? I have to reinstall notebook 6.5

@KayjiYu KayjiYu added the bug label Mar 28, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to issues that need triage label Mar 28, 2023
@jtpio
Copy link
Member

jtpio commented Mar 28, 2023

Thanks @KayjiYu for trying out the Notebook 7 pre-release 👍

It looks like it could be an issue with the terminal not finding the right command for starting the application.

Did you try to install v7 in a new virtual environment?

@KayjiYu
Copy link
Author

KayjiYu commented Mar 28, 2023

Thanks for your advice!

I created a virtual environment and installed notebook 7.0.0a18, it works!

However it seems that some packages are not compatible with notebook V7, for example, Jupyterthemes. I'm still being used to the built-in dark mode.

Anyway, v7 works well so far. Thank you so much.

@jtpio
Copy link
Member

jtpio commented Mar 29, 2023

Thanks again for trying the pre-release!

For reference it's possible to use existing JupyterLab themes like JupyterLab Dark (built-in) or JupyterLab Night (third-party):

themes.mp4

I opened #6805 to track adding this to the documentation.

@jtpio
Copy link
Member

jtpio commented Mar 29, 2023

However it seems that some packages are not compatible with notebook V7, for example, Jupyterthemes. I'm still being used to the built-in dark mode.

Also the author of https://github.com/dunovank/jupyter-themes has ported some themes for JupyterLab, which should work in Notebook 7:

@jtpio jtpio added this to the 7.0 milestone Mar 29, 2023
@jtpio jtpio removed the status:Needs Triage Applied to issues that need triage label Mar 29, 2023
@KayjiYu
Copy link
Author

KayjiYu commented Mar 30, 2023

Thanks a lot!

I have been trying the darkside_ui as well as the jupyterlab built-in dark mode. They are okay but my personal preference is still 'onedork' which is not available right now. Never mind ! I'm getting used to them!

Thank you again for following up with the simple inquiry ! I'm enjoying the notebook 7.

@jtpio
Copy link
Member

jtpio commented Mar 30, 2023

They are okay but my personal preference is still 'onedork' which is not available right now.

There seems to be a One Dark Pro theme available though, not sure how similar to onedork it is: https://github.com/johnnybarrels/jupyterlab_onedarkpro

@jtpio
Copy link
Member

jtpio commented Apr 3, 2023

Closing as answered. I opened #6813 to improve the documentation about migrating to Notebook 7, and documenting the topic of themes there.

Thanks again!

@jtpio jtpio closed this as completed Apr 3, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants