<div dir="auto">Wait wait wait wait...<div dir="auto"><br></div><div dir="auto">Why are you doing the `python setup.py` thing? I strongly discourage you to use the system python to install packages globally. </div><div dir="auto"><br></div><div dir="auto">What I suggest you is to use virtualenvs.</div><div dir="auto"><br></div><div dir="auto">* Install py-virtualenv</div><div dir="auto">* Create virtualenv </div><div dir="auto">* Activate  the virtual environment </div><div dir="auto">* Install things locally to the virtual env using pip</div><div dir="auto">* Deactivate when finished </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">This way you create isolated environments for each one of your applications without messing up with the system packages. You can then delete them if you don't need them anymore without the fear of destroying everything... :) </div><div dir="auto"><br></div><div dir="auto">There are also other tools to make this even more pleasant (pew, pipenv). </div><div dir="auto"><br></div><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, 2 Dec 2019, 19:51 Forrest, <<a href="mailto:forrie@forrie.com">forrie@forrie.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm new to Python and I'm trying to figure out why, for example, when I <br>
install aws-cli (from source) using Macports, it doesn't install <br>
properly vs /usr/bin/python that does the right thing and places the <br>
commands in proper places.   When I run "/opt/local/bin/python setup.py <br>
install" it ends up buried in directories under the Macports directory <br>
structure, which isn't usable.   Maybe I am missing some ENV variables?<br>
<br>
<br>
<br>
F<br>
<br>
</blockquote></div></div>