title: Cannot upgrade AWS SAM CLI from 0.2.8 to 0.6.1
body: <p>I cannot upgrade AWS SAM CLI from 0.2.8 to 0.6.1.</p>
  
  <p>I followed the intructions mentionned here:
  <a href="https://github.com/awslabs/aws-sam-cli/blob/develop/docs/installation.rst" rel="nofollow noreferrer">https://github.com/awslabs/aws-sam-cli/blob/develop/docs/installation.rst</a></p>
  
  <pre><code>$ sam -version
  A newer version of the AWS SAM CLI is available!
  Your version:   0.2.8
  Latest version: 0.6.1
  See https://github.com/awslabs/aws-sam-local for upgrade instructions
  
  sam version 0.2.8
  </code></pre>
  
  <p>Following the instructions I need to delete the old version</p>
  
  <pre><code>$ npm uninstall -g aws-sam-local
  up to date in 0.044s
  </code></pre>
  
  <h1>Step 1. Verify Python Version is 2.7 or 3.6.</h1>
  
  <pre><code>$ python --version
  Python 3.6.5
  </code></pre>
  
  <h1>Step 2. Verify Pip is installed.</h1>
  
  <pre><code>$ pip --version
  pip 18.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)
  </code></pre>
  
  <h1>Step 3. Install aws-sam-cli</h1>
  
  <pre><code>$ pip install --user aws-sam-cli
  Requirement already satisfied: aws-sam-cli in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (0.6.1)
  Requirement already satisfied: boto3~=1.5 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (1.9.34)
  Requirement already satisfied: cookiecutter~=1.6.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (1.6.0)
  Requirement already satisfied: dateparser~=0.7 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (0.7.0)
  Requirement already satisfied: click~=6.7 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (6.7)
  Requirement already satisfied: Flask~=1.0.2 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (1.0.2)
  Requirement already satisfied: python-dateutil~=2.6 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (2.6.1)
  Requirement already satisfied: aws-sam-translator==1.7.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (1.7.0)
  Requirement already satisfied: six~=1.11.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (1.11.0)
  Requirement already satisfied: PyYAML~=3.12 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (3.12)
  Requirement already satisfied: docker&gt;=3.3.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (3.5.1)
  Requirement already satisfied: chevron~=0.12 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-cli) (0.13.1)
  Requirement already satisfied: jmespath&lt;1.0.0,&gt;=0.7.1 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from boto3~=1.5-&gt;aws-sam-cli) (0.9.3)
  Requirement already satisfied: botocore&lt;1.13.0,&gt;=1.12.34 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from boto3~=1.5-&gt;aws-sam-cli) (1.12.34)
  Requirement already satisfied: s3transfer&lt;0.2.0,&gt;=0.1.10 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from boto3~=1.5-&gt;aws-sam-cli) (0.1.13)
  Requirement already satisfied: poyo&gt;=0.1.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from cookiecutter~=1.6.0-&gt;aws-sam-cli) (0.4.2)
  Requirement already satisfied: jinja2-time&gt;=0.1.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from cookiecutter~=1.6.0-&gt;aws-sam-cli) (0.2.0)
  Requirement already satisfied: jinja2&gt;=2.7 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from cookiecutter~=1.6.0-&gt;aws-sam-cli) (2.10)
  Requirement already satisfied: requests&gt;=2.18.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from cookiecutter~=1.6.0-&gt;aws-sam-cli) (2.20.0)
  Requirement already satisfied: future&gt;=0.15.2 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from cookiecutter~=1.6.0-&gt;aws-sam-cli) (0.17.1)
  Requirement already satisfied: binaryornot&gt;=0.2.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from cookiecutter~=1.6.0-&gt;aws-sam-cli) (0.4.4)
  Requirement already satisfied: whichcraft&gt;=0.4.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from cookiecutter~=1.6.0-&gt;aws-sam-cli) (0.5.2)
  Requirement already satisfied: tzlocal in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from dateparser~=0.7-&gt;aws-sam-cli) (1.5.1)
  Requirement already satisfied: regex in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from dateparser~=0.7-&gt;aws-sam-cli) (2018.8.29)
  Requirement already satisfied: pytz in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from dateparser~=0.7-&gt;aws-sam-cli) (2018.7)
  Requirement already satisfied: itsdangerous&gt;=0.24 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from Flask~=1.0.2-&gt;aws-sam-cli) (1.1.0)
  Requirement already satisfied: Werkzeug&gt;=0.14 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from Flask~=1.0.2-&gt;aws-sam-cli) (0.14.1)
  Requirement already satisfied: jsonschema~=2.6 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from aws-sam-translator==1.7.0-&gt;aws-sam-cli) (2.6.0)
  Requirement already satisfied: websocket-client&gt;=0.32.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from docker&gt;=3.3.0-&gt;aws-sam-cli) (0.53.0)
  Requirement already satisfied: docker-pycreds&gt;=0.3.0 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from docker&gt;=3.3.0-&gt;aws-sam-cli) (0.3.0)
  Requirement already satisfied: docutils&gt;=0.10 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from botocore&lt;1.13.0,&gt;=1.12.34-&gt;boto3~=1.5-&gt;aws-sam-cli) (0.14)
  Requirement already satisfied: urllib3&lt;1.25,&gt;=1.20; python_version &gt;= "3.4" in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from botocore&lt;1.13.0,&gt;=1.12.34-&gt;boto3~=1.5-&gt;aws-sam-cli) (1.24)
  Requirement already satisfied: arrow in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from jinja2-time&gt;=0.1.0-&gt;cookiecutter~=1.6.0-&gt;aws-sam-cli) (0.12.1)
  Requirement already satisfied: MarkupSafe&gt;=0.23 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from jinja2&gt;=2.7-&gt;cookiecutter~=1.6.0-&gt;aws-sam-cli) (1.0)
  Requirement already satisfied: idna&lt;2.8,&gt;=2.5 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from requests&gt;=2.18.0-&gt;cookiecutter~=1.6.0-&gt;aws-sam-cli) (2.7)
  Requirement already satisfied: certifi&gt;=2017.4.17 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from requests&gt;=2.18.0-&gt;cookiecutter~=1.6.0-&gt;aws-sam-cli) (2018.10.15)
  Requirement already satisfied: chardet&lt;3.1.0,&gt;=3.0.2 in /Users/nicolasjourdain/Library/Python/3.6/lib/python/site-packages (from requests&gt;=2.18.0-&gt;cookiecutter~=1.6.0-&gt;aws-sam-cli) (3.0.4)
  </code></pre>
  
  <h1>Step 4. Adjust your PATH</h1>
  
  <p>I added to my .bash_profile</p>
  
  <pre><code>USER_BASE_PATH=$(python -m site --user-base)
  export PATH=$PATH:$USER_BASE_PATH/bin
  </code></pre>
  
  <h1>Step 5. Verify that sam is installed</h1>
  
  <pre><code>$ sam --version
  A newer version of the AWS SAM CLI is available!
  Your version:   0.2.8
  Latest version: 0.6.1
  See https://github.com/awslabs/aws-sam-local for upgrade instructions
  
  sam version 0.2.8
  </code></pre>
  
  <p>Oh No! All this works for nothing! 
  Please Help! 
  What did I miss?</p>
  
  <h1>Additional information:</h1>
  
  <pre><code>$ which sam
  /usr/local/bin/sam
  
  $ echo $PATH
  /usr/local/opt/python/libexec/bin:~/apache-maven-3.5.4/bin:~/mongodb-osx-x86_64-enterprise-4.0.0/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Users/nicolasjourdain/Library/Python/2.7/bin
  </code></pre>