<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="">Yes, Anaconda overwrote the PATh settings by creating a .bash_profile file (and editing several others). The way it does this happens deep in some python scripts (e.g. changing shell prompts happen as well). The thing is invasive.<div class=""><br class=""></div><div class="">I have removed it from my system.<br class=""><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div><div class="">Gerben Wierda (<a href="https://www.linkedin.com/in/gerbenwierda" class="">LinkedIn</a>)</div><div class=""><a href="https://ea.rna.nl/" class="">R&A Enterprise Architecture</a> (main site)<br class="">Book: <a href="https://ea.rna.nl/the-book/" class="">Chess and the Art of Enterprise Architecture</a><br class="">Book: <a href="https://ea.rna.nl/the-book-edition-iii/" class="">Mastering ArchiMate</a><br class=""></div></div></div></div></div></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 31 Aug 2021, at 11:54, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" class="">ryandesign@macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Aug 30, 2021, at 09:32, Gerben Wierda wrote:<br class=""><blockquote type="cite" class=""><br class="">I had to install Anaconda (Python environment) to collaborate with someone. I installed, but it adapted my shell environment in such a way that I’ve lost MacPorts (and LMTX ConTeXt). Does anybody have experience with the combination of Anaconda and MacPorts and what the correct way is to use them side by side?<br class=""></blockquote><br class="">I don't know anything about Anaconda...<br class=""><br class="">When you say you've "lost MacPorts" does that mean that when you type "port" something it says the command is not found? If so, that means that your PATH environment variable is not set up correctly. When you installed MacPorts, it edited your shell startup script (which varies depending on which SHELL you are using) to add the MacPorts paths /opt/local/bin and /opt/local/sbin to PATH, while preserving any other additions you made. Maybe the Anaconda installer also modified the PATH in that same shell startup file but did not preserve your other PATH modifications. Or if you are using the Bash shell, which supports I think three possible startup files, maybe Anaconda edited a different one, one which takes precedence and causes Bash to ignore the other startup file that contained your MacPorts PATH settings.<br class=""><br class=""></div></div></blockquote></div><br class=""></div></div></body></html>