title: Python at AWS Lambda: `requests` from botocore.vendored deprecated, but `requests` not available
body: <p>I've got a Python script for an AWS Lambda function that does HTTP POST requests to another endpoint. Since Python's <code>urllib2.request</code>, <a href="https://docs.python.org/2/library/urllib2.html" rel="noreferrer">https://docs.python.org/2/library/urllib2.html</a>, can only handle data in the standard <code>application/x-www-form-urlencoded</code> format and I want to post JSON data, I used the Requests library, <a href="https://pypi.org/project/requests/2.7.0/" rel="noreferrer">https://pypi.org/project/requests/2.7.0/</a>.</p>
  
  <p>That Requests library wasn't available at AWS Lambda in the Python runtime environment, so had to be imported via <code>from botocore.vendored import requests</code>. So far, so good.</p>
  
  <p>Today, I get a deprecation warning on that:</p>
  
  <pre><code>DeprecationWarning: You are using the post() function from 'botocore.vendored.requests'.
  This is not a public API in botocore and will be removed in the future.
  Additionally, this version of requests is out of date. We recommend you install the
  requests package, 'import requests' directly, and use the requests.post() function instead.
  </code></pre>
  
  <p>This was mentioned in this blog post from AWS too: <a href="https://aws.amazon.com/blogs/developer/removing-the-vendored-version-of-requests-from-botocore/" rel="noreferrer">https://aws.amazon.com/blogs/developer/removing-the-vendored-version-of-requests-from-botocore/</a>. </p>
  
  <p>Unfortunately, changing <code>from botocore.vendored import requests</code> into <code>import requests</code> results in the following error:</p>
  
  <pre><code>No module named 'requests'
  </code></pre>
  
  <p>Why is <code>requests</code> not available for the Python runtime at AWS Lambda? And how can I use / import it?</p>