AWS ElasticBeanstalk CLI in OS X: EB Command Not Found : <p>I am running into an error attempting to run the ElasticBeanstalk CLI tools on Mac OSX. I have been troubleshooting path issues and hope someone can shed some light. Here is my set up.</p>

<p>I am running Mac OS X El Capital 10.11.6, and I have manually installed Python 3.4 (via the download installer on python.org). I can see that it is installed correctly in <code>/Library/Frameworks/Python.frameworks/Versions</code>. Commands beginning with <code>python3</code> work as expected. I have also installed the the AWS ElasticBeanstalk CLI tools by running <code>sudo pip3 install --upgrade awsebcli</code> and can confirm it is located in the <code>/Users/myuser/Library/Python/3.4/lib/python/site-packages/</code> directory.</p>

<p>I have experimented with modifying my <code>~/.bash_profile</code>, as well as removing it. When I run <code>echo $PATH</code>, here is my output:</p>

<pre><code>/Users/myuser/Library/Python/3.4/lib/python/site-packages/ebcli/:
/Library/Frameworks/Python.framework/Versions/3.4/lib/python/site-packages:
/Library/Frameworks/Python.framework/Versions/3.4/bin:
/Users/myuser/.rvm/gems/ruby-2.2.4/bin:
/Users/myuser/.rvm/gems/ruby-2.2.4@global/bin:
/Users/myuser/.rvm/rubies/ruby-2.2.4/bin:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/opt/X11/bin:
/usr/local/git/bin:
/Users/myuser/.rvm/bin
</code></pre>

<p>Here is my <code>~/.bash_profile</code></p>

<pre><code># Load the default .profile
[[ -s "$HOME/.profile" ]] &amp;&amp; source "$HOME/.profile" 

# Load RVM into a shell session *as a function*
#[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; source "$HOME/.rvm/scripts/rvm"

# Setting PATH for Python 3.4
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"

# Setting PATH for Python 3.4 site packages
PATH="/Library/Frameworks/Python.framework/Versions/3.4/lib/python/site-packages:${PATH}"
PATH="/Users/myuser/Library/Python/3.4/lib/python/site-packages/ebcli/:${PATH}"
export PATH
</code></pre>
