Christoph Kukulies via macports-users <[email protected]> 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.

Reply via email to