title: Python is not configured for aws sam cli
body: <p>I am following this tutorial to build a SAM App: <a href="https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.html</a></p>
  <p>When i did <code>sam build</code>, I got following error</p>
  <pre><code>❯ sam build
  Building codeuri: hello_world/ runtime: python3.8 metadata: {} functions: ['HelloWorldFunction']
  
  Build Failed
  Error: PythonPipBuilder:Validation - Binary validation failed for python, searched for python in following locations  : ['/usr/bin/python'] which did not satisfy constraints for runtime: python3.8. Do you have python for runtime: python3.8 on your PATH?
  </code></pre>
  <p>I checked my python by doing this</p>
  <pre><code>❯ which python
  python: aliased to python3
  </code></pre>
  <p>And when i do python version, i got this</p>
  <pre><code>❯ python --version
  Python 3.8.2
  </code></pre>
  <p>So what's i am missing and how to fix this problem?</p>