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: No module named 'notebook.auth' #166

Open
cybersecfaith opened this issue Aug 24, 2024 · 1 comment
Open

ModuleNotFoundError: No module named 'notebook.auth' #166

cybersecfaith opened this issue Aug 24, 2024 · 1 comment

Comments

@cybersecfaith
Copy link
Contributor

Issue:

Error seen while running the config tool from master: ModuleNotFoundError: No module named 'notebook.auth'.

configure jupyter notebooks
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: jupyter in ./.local/lib/python3.9/site-packages (1.0.0)
//TRUNCATED
Requirement already satisfied: types-python-dateutil>=2.8.10 in ./.local/lib/python3.9/site-packages (from arrow>=0.15.0->isoduration->jsonschema[format-nongpl]>=4.18.0->jupyter-events>=0.9.0->jupyter-server<3,>=2.4.0->notebook->jupyter) (2.9.0.20240316)
Overwrite /home/pi/.jupyter/jupyter_notebook_config.py with default config? [y/N]y
Writing default config to: /home/pi/.jupyter/jupyter_notebook_config.py
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'notebook.auth'

Details on current setup

Hardware used
- Raspberry Pi 4
- SanDisk Extreme Pro 64GB microSDXC UHS-I V30 card

Software used
- Raspberry Pi OS (Legacy 32 bit) with desktop
- Raspberry Pi Imager 1.8.5

Settings
- Default Username `pi` is used
- RasQberry is installed in the home directory of the default user `pi`

OS output

pi@raspberrypi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.21-v7l+ #1642 SMP Mon Apr  3 17:22:30 BST 2023 armv7l GNU/Linux

Qiskit version

Successfully installed ibm-quantum-widgets-1.0.3
qiskit                  0.44.0
qiskit-algorithms       0.3.0
qiskit-dynamics         0.5.1
qiskit-experiments      0.5.4
qiskit-finance          0.4.0
qiskit-ibm-experiment   0.4.7
qiskit-machine-learning 0.7.2
qiskit-nature           0.7.2
qiskit-optimization     0.6.1
qiskit-terra            0.25.0
@JanLahmann
Copy link
Owner

I've seen that error message as well.
Not sure if it causes an issue.
Did you try to use a local notebook? Is the Jupyter environment usable?

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

2 participants