It happens both inside a jupyter server and in a naked python interpreter (Ubuntu 24.04 amd64, python 3.12):
#> python
Python 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import codeium
Traceback (most recent call last):
File "", line 1, in
File "/mnt/raid1/venvs/sam2/lib/python3.12/site-packages/codeium/init.py", line 9, in
from notebook.notebookapp import NotebookWebApplication
ModuleNotFoundError: No module named 'notebook.notebookapp'
Downgrading to notebook==6.5.7 fixes the problem.