title: AWS aws.push ImportError: No module named boto in Ubuntu
body: <p>I'm trying to follow this tutorial: 
  <a href="http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html" rel="noreferrer">http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html</a> </p>
  
  <p>in order to deploy a Ruby on Rails app in AWS with Ubuntu.</p>
  
  <p>Everything went ok (I can run my app in local), until the final step. When I run aws.push I get next error.</p>
  
  <pre><code>   roberto@ubuntu:~/dev/myapp$ git aws.push
  Traceback (most recent call last):
    File ".git/AWSDevTools/aws.elasticbeanstalk.push", line 21, in &lt;module&gt;
      from aws.dev_tools import * 
    File "/home/roberto/dev/myapp/.git/AWSDevTools/aws/dev_tools.py", line 5, in &lt;module&gt;
      import boto
  ImportError: No module named boto
  </code></pre>
  
  <p>I have read this post <a href="https://stackoverflow.com/questions/23297719/git-aws-push-no-module-named-boto">git aws.push: No module named boto</a> and run:</p>
  
  <pre><code>pip install boto
  pip freeze &gt; reqIuirements.txt
  git add .
  git commit -m "Added boto"
  git aws.push
  </code></pre>
  
  <p>But still the same result.</p>
  
  <p><strong>UPDATE:</strong> 
  I think the problem is related to my python versions.
  When I run <code>which python</code>  I get /usr/bin/python. If I do ls this folder I see python, python2, python2.7, python3, python3.4.</p>
  
  <p>When I run <code>python</code> I get:</p>
  
  <pre><code>Python 2.7.6 (default, Mar 22 2014, 22:59:56) 
  [GCC 4.8.2] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>I don't know what to do. </p>
  
  <p>The problem was the first boto installation it didn't work due to permissions problems, and I didn't realize. I ran <code>sudo pip install boto</code> and everything went OK this time.</p>