<div dir="ltr">Hi,<div><br></div><div>In order to use awscli, I installed Python 3.4.3 and pip for Python 3.4.3.<br></div><div><br></div><div>According to <a href="http://docs.aws.amazon.com/cli/latest/userguide/installing.html#install-with-pip" target="_blank">AWS Docs</a>, I should be able to install awscli by running</div><div><br></div><div>   pip install awscli</div><div><br></div><div>However it failed due to some permission issues: <a href="https://gist.github.com/behrangsa/6d2ed5755e511e876f68" target="_blank">https://gist.github.com/behrangsa/6d2ed5755e511e876f68</a></div><div><br></div><div>I reran pip with sudo and this time installation completed successfully.</div><div><br></div><div>According to the docs:</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:verdana,arial,sans-serif;font-size:12px;line-height:normal">Pip installs the </span><code class="code" style="font-family:&#39;Courier New&#39;,Courier,mono;font-size:12px;color:rgb(0,0,0);line-height:normal">aws</code><span style="color:rgb(0,0,0);font-family:verdana,arial,sans-serif;font-size:12px;line-height:normal"> executable to </span><code class="code" style="font-family:&#39;Courier New&#39;,Courier,mono;font-size:12px;color:rgb(0,0,0);line-height:normal">/usr/bin/aws</code><span style="color:rgb(0,0,0);font-family:verdana,arial,sans-serif;font-size:12px;line-height:normal">. The </span><code class="code" style="font-family:&#39;Courier New&#39;,Courier,mono;font-size:12px;color:rgb(0,0,0);line-height:normal">awscli</code><span style="color:rgb(0,0,0);font-family:verdana,arial,sans-serif;font-size:12px;line-height:normal"> library (which does the actual work) is installed to the &#39;site-packages&#39; folder in Python&#39;s installation directory.</span><br></div><div><span style="color:rgb(0,0,0);font-family:verdana,arial,sans-serif;font-size:12px;line-height:normal"><br></span></div><div><span style="color:rgb(0,0,0);font-family:verdana,arial,sans-serif;font-size:12px;line-height:normal">But for some reason, it is not installed there. It is not installed in /opt/local/bin either.</span></div><div><span style="color:rgb(0,0,0);font-family:verdana,arial,sans-serif;font-size:12px;line-height:normal"><br></span></div><div><span style="color:rgb(0,0,0);font-family:verdana,arial,sans-serif;font-size:12px;line-height:normal">Apparently it is installed in </span><font color="#000000" face="verdana, arial, sans-serif"><span style="font-size:12px;line-height:normal">/opt/local/Library/Frameworks/Python.framework/Versions/Current/bin (which is a symlink to opt/local/Library/Frameworks/Python.framework/Versions/3.4.</span></font></div><div><font color="#000000" face="verdana, arial, sans-serif"><span style="font-size:12px;line-height:normal"><br></span></font></div><div><font color="#000000" face="verdana, arial, sans-serif"><span style="font-size:12px;line-height:normal">Should I just add </span></font><span style="color:rgb(0,0,0);font-family:verdana,arial,sans-serif;font-size:12px;line-height:normal">/opt/local/Library/Frameworks/Python.framework/Versions/Current/bin to the PATH, or is there a better alternative available?</span></div></div><div dir="ltr">-- <br></div><div dir="ltr">Best regards,<div>Behrang Saeedzadeh</div></div>