<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Addendum:<div class=""><br class=""></div><span class=""><font face="Courier New" class="">$ port select --summary<br class="">Name Selected Options<br class="">==== ======== =======<br class="">clang none mp-clang-17 none<br class="">cython none cython27 none<br class="">docutils none py313-docutils none<br class="">httpx none py311-httpx py313-httpx none<br class="">ipython py313-ipython py311-ipython py313-ipython none<br class="">ipython3 py313-ipython py311-ipython py313-ipython none<br class="">jupyter py311-jupyter py311-jupyter py313-jupyter none<br class="">llvm none mp-llvm-17 mp-llvm-19 none<br class="">py-sympy py311-sympy py311-sympy none<br class="">pygments none py311-pygments py313-pygments none<br class="">python python311 python27 python27-apple python311 python312 python313 python37 python38 python38-apple none<br class="">python2 none python27 python27-apple none<br class="">python3 python311 python311 python312 python313 python37 python38 python38-apple none<br class=""></font><div class=""><br class=""><br class=""></div><br class=""><blockquote type="cite" class="">Am 13.07.2025 um 09:40 schrieb Christoph Kukulies via macports-users <<a href="mailto:macports-users@lists.macports.org" class="">macports-users@lists.macports.org</a>>:<br class=""><br class="">I finally got everything tidied up, running Python 3.11 now. My `jupyter notebook` invoking problem (jupyter-notebook not found) got solved when I came to the conclusion that<br class="">selecting jupyter to the right py311-jupyter and doing so for py-sympy.<br class=""><br class="">Thanks again to all.<br class=""><br class="">--<br class="">Christoph<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">Am 12.07.2025 um 11:26 schrieb Christoph Kukulies via macports-users <<a href="mailto:macports-users@lists.macports.org" class="">macports-users@lists.macports.org</a>>:<br class=""><br class="">Thanks. Then I'm wondering why /opt/local/bin/jupyter*<br class="">is not being used.<br class=""><br class="">$ ls /opt/local/bin/ju*<br class="">/opt/local/bin/jupyter-3.13<br class="">/opt/local/bin/jupyter-console-3.13<br class="">/opt/local/bin/jupyter-dejavu-3.13<br class="">/opt/local/bin/jupyter-events-3.13<br class="">/opt/local/bin/jupyter-execute-3.13<br class="">/opt/local/bin/jupyter-kernel-3.13<br class="">/opt/local/bin/jupyter-kernelspec-3.13<br class="">/opt/local/bin/jupyter-lab-3.13<br class="">/opt/local/bin/jupyter-labextension-3.13<br class="">/opt/local/bin/jupyter-labhub-3.13<br class="">/opt/local/bin/jupyter-migrate-3.13<br class="">/opt/local/bin/jupyter-nbconvert-3.13<br class="">/opt/local/bin/jupyter-notebook-3.13<br class="">/opt/local/bin/jupyter-run-3.13<br class="">/opt/local/bin/jupyter-server-3.13<br class="">/opt/local/bin/jupyter-troubleshoot-3.13<br class="">/opt/local/bin/jupyter-trust-3.13<br class=""><br class="">All my troubles would have been blown away ( command jupyter-notebook not found) if the correct mechanism<br class="">would point to these programs.<br class=""><br class="">If I run <br class=""><br class="">$ jupyter 3.13 notebook<br class=""><br class="">everything works, but this would be a crock.<br class=""><br class=""><br class="">--<br class="">Christoph<br class=""><br class=""><blockquote type="cite" class="">Am 12.07.2025 um 10:24 schrieb Ryan Carsten Schmidt <ryandesign@macports.org>:<br class=""><br class="">On Jul 12, 2025, at 02:56, Christoph Kukulies wrote:<br class=""><blockquote type="cite" class=""><br class=""></blockquote><blockquote type="cite" class="">I tried that:<br class=""><br class=""> sudo port install py313-jupyter<br class=""><br class="">But /usr/local/bin/jupyter still points at python3.11<br class=""><br class=""><br class="">#!/usr/local/opt/python@3.11/bin/python3.11<br class=""># -*- coding: utf-8 -*-<br class="">import re<br class="">import sys<br class="">from jupyter_core.command import main<br class="">if __name__ == '__main__':<br class=""> sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])<br class=""> sys.exit(main())<br class=""><br class="">Where does /usr/local/bin/jupyter actually stem from?<br class=""></blockquote><br class="">MacPorts uses /opt/local by default. <br class=""><br class="">/usr/local is for software you install manually. On Intel Macs, Homebrew takes over this location. Attempting to configure MacPorts to use this location will produce a loud warning explaining that we don't recommend using that location. <br class=""><br class="">Having Homebrew and MacPorts installed on the same computer will cause problems and is not recommended. Neither is installing software to /usr/local manually. <br class=""><br class="">See https://trac.macports.org/wiki/FAQ#usrlocal<br class=""></blockquote><br class=""></blockquote><br class=""></blockquote><br class=""></span></body></html>