I upgraded yesterday to 24.04 from the previous Pop!_OSLTS. My Jupyter notebook and pip are broken now. Any ideas on how to repair?
Traceback (most recent call last):
File "/home/at/.local/bin/jupyter", line 5, in <module>
from jupyter_core.command import main
ModuleNotFoundError: No module named 'jupyter_core'
I think the issue is that 24.04 ships with Python 3.12 with PEP 668 enabled. And this prevents pip from modifying packages.
I’m not sure what the recommended way of installing pip / Jupyter is now. I get error messages about externally managed environments when I try using pip.