<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">On Jul 12, 2025, at 02:56, Christoph Kukulies wrote:</div><div dir="ltr"><blockquote type="cite"><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">I tried that:</span><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br class=""></div><div class="" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"> sudo port install py313-jupyter<div class=""><div class=""><div dir="auto" class=""><div class=""><br class=""></div><div class="">But /usr/local/bin/jupyter still points at python3.11</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div><span class=""><font face="Courier New" 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())</font><br class=""><div class=""><br class=""></div>Where does /usr/local/bin/jupyter actually stem from?</span></div></div></div></blockquote><div><br></div>MacPorts uses /opt/local by default. <div><br><div>/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. </div><div><br></div><div>Having Homebrew and MacPorts installed on the same computer will cause problems and is not recommended. Neither is installing software to /usr/local manually. </div><div><br></div><div>See <a href="https://trac.macports.org/wiki/FAQ#usrlocal">https://trac.macports.org/wiki/FAQ#usrlocal</a></div></div></body></html>