<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
I have anaconda and Macports installed side-by-side, with different versions of python in each of them. It all runs smoothly, so it can be done. And I also have MacTeX installed separately, again without any issues with interaction with anaconda. As Ryan said,
 w<span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">e need more information to figure out what is the problem with your setup. </span><br>
<br>
<div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">-- <br>
<small>Mircea Trandafir<br>
Associate professor<br>
Department of Business and Economics<br>
University of Southern Denmark<br>
<a href="x-apple-data-detectors://5/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="5/0">Campusvej 55, 5230 Odense M</a><br>
<a href="x-apple-data-detectors://5/0" x-apple-data-detectors="true" x-apple-data-detectors-type="address" x-apple-data-detectors-result="5/0">Denmark</a><br>
Email: <a href="mailto:mircea.trandafir@sam.sdu.dk" target="_blank">mircea.trandafir@sam.sdu.dk</a><br>
Web: <a href="http://www.mirceatrandafir.com/" target="_blank">http://www.mirceatrandafir.com</a></small></span></div>
<div dir="ltr"><br>
<blockquote type="cite">On Aug 31, 2021, at 12:54 PM, Ryan Schmidt <ryandesign@macports.org> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr"><span>On Aug 30, 2021, at 09:32, Gerben Wierda wrote:</span><br>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>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?</span><br>
</blockquote>
<span></span><br>
<span>I don't know anything about Anaconda...</span><br>
<span></span><br>
<span>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.</span><br>
<span></span><br>
</div>
</blockquote>
</body>
</html>