I just tried to install py-jupyter on a clean machine, and got the same error:
g-info/dependency_links.txt Error: Failed to activate py310-jupyter: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/__pycache__/jupyter.cpython-310.pyc is being used by the active py310-jupyter_core port. Please deactivate this port first, or use 'port -f activate py310-jupyter' to force the activation. so there is some kind of a problem with py-jupyter that needs fixing. there doesn’t seem to be an open ticket for this, so that would be the thing to do, if you like. K
