Tidying up Python

Nils Breunese breun at macports.org
Sat Jul 12 06:00:53 UTC 2025


Christoph Kukulies via macports-users <macports-users at lists.macports.org> wrote:

> An attempt to install jupyter now under python313 shows that there are 3.11 dependencies:
> 
> pip3 install jupyter
> Requirement already satisfied: jupyter in /usr/local/lib/python3.11/site-packages (1.1.1)
> 
> and lots more of references to python 3.11

If you install Jupyter via MacPorts instead of pip, then MacPorts will also take care of Jupyter’s dependencies and you can manage everything through MacPorts. If you start adding Python stuff via pip next to Python ports from MacPorts, you’ll need to make sure yourself that Python versions are aligned.

If you want to let MacPorts manage Jupyter, I’d first remove the Jupyter install via pip to avoid confusion.

Then, if you want to install Jupyter for Python 3.13 via MacPorts:

    sudo port install py313-jupyter

(There are also ports for Jupyter for older Python versions.)

You could also install a port for Jupyter for whatever-the-latest-supported-Python-currently-is if that’s what you prefer:

    sudo port install py-jupyter

Nils.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250712/5df944ef/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/octet-stream
Size: 488 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250712/5df944ef/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/octet-stream
Size: 488 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20250712/5df944ef/attachment-0001.obj>


More information about the macports-users mailing list