title: Importing Python modules for Azure Function
body: <p>How can I import modules for a Python Azure Function?</p>
  
  <pre><code>import requests
  </code></pre>
  
  <p>Leads to:</p>
  
  <pre><code>2016-08-16T01:02:02.317 Exception while executing function: Functions.detect_measure. Microsoft.Azure.WebJobs.Script: Traceback (most recent call last):
    File "D:\home\site\wwwroot\detect_measure\run.py", line 1, in &lt;module&gt;
      import requests
  ImportError: No module named requests
  </code></pre>
  
  <p>Related, where are the modules available documented? </p>
  
  <p>Related question with fully documented answer
  <a href="https://stackoverflow.com/questions/45860272/python-libraries-on-web-job">Python libraries on Web Job</a></p>