<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=""><div class=""><br class=""></div><div class="">OK.</div><div class=""><br class=""></div><div class="">So when you say build from source, do you mean using MacPorts port for this, or are you building directly yourself (and if the later, any reason why you are not using the port ?)</div><div class=""><br class=""></div><div class=""><a href="https://github.com/macports/macports-ports/blob/master/python/py-awscli/Portfile" class="">https://github.com/macports/macports-ports/blob/master/python/py-awscli/Portfile</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">crjoberon ~ > port search awscli</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">awscli_select @0.1 (python, sysutils)</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">    common files for selecting default awscli version</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">py-awscli @1.16.292 (python)</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">    Universal Command Line Environment for AWS.</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">py27-awscli @1.16.292 (python)</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">    Universal Command Line Environment for AWS.</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">py35-awscli @1.16.292 (python)</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">    Universal Command Line Environment for AWS.</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">py36-awscli @1.16.292 (python)</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">    Universal Command Line Environment for AWS.</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">py37-awscli @1.16.292 (python)</span></font></div><div class=""><font color="#ffffff" class=""><span style="caret-color: rgb(255, 255, 255);" class="">    Universal Command Line Environment for AWS.</span></font></div></blockquote><div><br class=""></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class="">On 2 Dec 2019, at 8:43 pm, Forrest <forrie@forr</div></blockquote><br class=""><blockquote type="cite" class=""><div class=""><a href="http://ie.com" class="">ie.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">The /usr/bin/python installs the executable into /usr/local/bin. I'd be fine if the Macports installed it in /opt/local/bin -- this makes me believe there is a config directive I'm missing somewhere.<br class=""><br class=""><br class=""><br class="">On 12/2/19 2:38 PM, Christopher Jones wrote:<br class=""><blockquote type="cite" class="">When you say " vs /usr/bin/python that does the right thing and places the commands in proper places “  where exactly are you referring to ? Where exactly do you want the macports provided python to install things to ?<br class=""><br class=""><blockquote type="cite" class="">On 2 Dec 2019, at 7:50 pm, Forrest <<a href="mailto:forrie@forrie.com" class="">forrie@forrie.com</a>> wrote:<br class=""><br class="">I'm new to Python and I'm trying to figure out why, for example, when I install aws-cli (from source) using Macports, it doesn't install properly vs /usr/bin/python that does the right thing and places the commands in proper places.   When I run "/opt/local/bin/python setup.py install" it ends up buried in directories under the Macports directory structure, which isn't usable.   Maybe I am missing some ENV variables?<br class=""><br class=""><br class=""><br class="">F<br class=""><br class=""></blockquote></blockquote><br class=""></div></div></blockquote></div><br class=""></body></html>