<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>You want the command <span style="font-family: Menlo; font-size: 24px;">port installed</span>, not <span style="font-family: Menlo; font-size: 24px;">port list</span>, to see everything that you’ve installed before.</div><div><br></div><div>If you really do have this cold versions installed, it’s also likely that you also have zillions of old Python version packages installed too:</div><div><br></div><div><blockquote type="cite"><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 24px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">port installed py*</span></p></blockquote></div><div><br></div>Here’s a gist I use to migrate to new versions of Python:<div><br></div><div><a href="https://gist.github.com/essandess/29067dc7b50536aa0a1f9f34fece73a7">https://gist.github.com/essandess/29067dc7b50536aa0a1f9f34fece73a7</a><br id="lineBreakAtBeginningOfMessage"><div><br></div><div>To get an up-to-date Python install, choose the latest version whose packages both exist and work, likely python313:</div><div><br></div><div><blockquote type="cite"><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures;"><font size="4">$ port list py3*-jupyter</font></span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"><font size="4">py39-jupyter @1.0.0 python/py-jupyter</font></span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"><font size="4">py310-jupyter @1.0.0 python/py-jupyter</font></span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"><font size="4">py311-jupyter @1.0.0 python/py-jupyter</font></span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"><font size="4">py312-jupyter @1.0.0 python/py-jupyter</font></span></p>
<p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures;"><font size="4">py313-jupyter @1.0.0 python/py-jupyter</font></span></p></blockquote></div><div><br></div><div>Then:</div><div><br></div><div><blockquote type="cite"><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 24px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">sudo port -pNc install py313-jupyter</span></p></blockquote></div><div><blockquote type="cite"><p style="margin: 0px; font-style: normal; font-variant-caps: normal; font-width: normal; font-size: 24px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-variant-emoji: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures">port select --set jupyter py313-jupyter</span></p></blockquote></div><div><br></div><div><br><blockquote type="cite"><div>On Jul 8, 2025, at 4:28 AM, Christoph Kukulies via macports-users <macports-users@lists.macports.org> wrote:</div><br class="Apple-interchange-newline"><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I just decided to totally remove all traces of anaconda3 from my macOS (11.7.10).<div>Now I'm left with all that got installed by macports through the years since 2017.</div><font face="Courier New"><span><br></span><span>$ port list | grep \^pyt<br>python-mode.el @1.0 lang/python-mode.el<br>python26 @2.6.9 lang/python26<br>python27 @2.7.18 lang/python27<br>python310 @3.10.18 lang/python310<br>python27-bootstrap @2.7.18 lang/python27<br>python311 @3.11.13 lang/python311<br>python312 @3.12.11 lang/python312<br>python313 @3.13.5 lang/python313<br>python313-devel @3.13.0rc3 lang/python313-devel<br>python314-devel @3.14.0b3 lang/python314-devel<br>python32 @3.2.6 lang/python32<br>python33 @3.3.7 lang/python33<br>python313-freethreading @3.13.5 lang/python313<br>python34 @3.4.10 lang/python34<br>python35 @3.5.10 lang/python35<br>python36 @3.6.15 lang/python36<br>python37 @3.7.17 lang/python37<br>python38 @3.8.20 lang/python38<br>python39 @3.9.23 lang/python39<br>pytest_select @0.1 python/pytest_select<br>python-language-server_select @0.1 python/python-language-server_select<br>python-lsp-server_select @0.1 python/python-lsp-server_select<br>pythia @8.303 science/pythia<br>python2_select @0.1 sysutils/python2_select<br>python3_select @0.1 sysutils/python3_select<br>python_select @0.3 sysutils/python_select<br>python3_select-38 @0.1 sysutils/python3_select<br>python3_select-39 @0.1 sysutils/python3_select<br>python3_select-310 @0.1 sysutils/python3_select<br>python3_select-311 @0.1 sysutils/python3_select<br>python3_select-312 @0.1 sysutils/python3_select<br>python3_select-313 @0.1 sysutils/python3_select<br>python3_select-314 @0.1 sysutils/python3_select<br>python_select-38 @0.3 sysutils/python_select<br>python_select-39 @0.3 sysutils/python_select<br>python_select-310 @0.3 sysutils/python_select<br>python_select-311 @0.3 sysutils/python_select<br>python_select-312 @0.3 sysutils/python_select<br>python_select-313 @0.3 sysutils/python_select<br>python_select-314 @0.3 sysutils/python_select<br>$ <br><br></span></font><span>Actually I don't want to tear down everything. I just would like to have a stable and up to date Python3 installation to run </span><div><span>Jupyter notebooks with the latest modules.</span></div><div><span><br></span></div><div>There are currently no settings regarding Python in my bash environment.</div><div><br></div><div>So how would I achieve this goal?</div><div><br></div><div>--</div><div>Christoph</div><div><br></div></div></div></blockquote></div><br></div></body></html>