Another problem starting a Jupyter notebook

When I click the Launch button of Anaconda Navigator’s Jupyter Notebook pane, the resulting Terminal (macOS Ventura) window says:

$ /opt/anaconda3/bin/jupyter_mac.command ; exit;
Traceback (most recent call last):
File “/opt/anaconda3/bin/jupyter-notebook”, line 7, in
from notebook.notebookapp import main
File “/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py”, line 79, in
from .services.contents.manager import ContentsManager
File “/opt/anaconda3/lib/python3.9/site-packages/notebook/services/contents/manager.py”, line 17, in
from nbformat import sign, validate as validate_nb, ValidationError
File “/opt/anaconda3/lib/python3.9/site-packages/nbformat/init.py”, line 11, in
from . import v1, v2, v3, v4
File “/opt/anaconda3/lib/python3.9/site-packages/nbformat/v4/init.py”, line 39, in
from .convert import downgrade, upgrade
File “/opt/anaconda3/lib/python3.9/site-packages/nbformat/v4/convert.py”, line 13, in
from … import validator
File “/opt/anaconda3/lib/python3.9/site-packages/nbformat/validator.py”, line 15, in
from .json_compat import ValidationError, _validator_for_name, get_current_validator
File “/opt/anaconda3/lib/python3.9/site-packages/nbformat/json_compat.py”, line 11, in
import jsonschema
File “/opt/anaconda3/lib/python3.9/site-packages/jsonschema/init.py”, line 23, in
from jsonschema.validators import (
File “/opt/anaconda3/lib/python3.9/site-packages/jsonschema/validators.py”, line 422, in
meta_schema=_utils.load_schema(“draft3”),
File “/opt/anaconda3/lib/python3.9/site-packages/jsonschema/_utils.py”, line 61, in load_schema
data = path.read_text(encoding=“utf-8”)
AttributeError: ‘PosixPath’ object has no attribute ‘read_text’
logout
-ne
Saving session…
-ne
…copying shared history…
-ne
…saving history…
-n truncating history files…
-ne

completed.

[Process completed]

Of course I get the same problem directly typing “/opt/anaconda3/bin/jupyter_mac.command ; exit;” into my Terminal window without using Anaconda Navigator at all.

Can anyone help?:

Do you have any solution for this? I have the same problem.

Hi, I’ve forwarded on to the relevant team but in the meantime can you try creating a new environment and trying again? Interested to know which version of Jupyter Notebook you have installed as well as updating that to the latest might help as well.

The only thing I can find online is this issue which suggests pinning the version of setuptools package.

Thanks,
Jack