title: Import Numpy in Python WebJob on Azure
body: <p>How do I add Numpy (and other requirements) to a Python WebJob on Microsoft Azure?</p>
  
  <p>I have deployed a Python WebJob on Azure, and was able to import packages by copying them manually from my local system to a folder <code>site-packages</code> and calling <code>sys.path.append('site-packages')</code>, <a href="http://nicholasjackson.github.io/azure/python/python-packages-and-azure-webjobs/" rel="nofollow">as explained in this post</a>. This works fine for some packages, but not for numpy.</p>
  
  <p>When trying to import numpy, I get this error:</p>
  
  <p><code>File "site-packages\numpy\core\__init__.py", line 14, in &lt;module&gt;
       from . import multiarray
  ImportError: cannot import name 'multiarray'</code></p>
  
  <p>I have tried using the numpy folder from my Mac running python 3.5, and from a Windows PC running python 3.4. The Azure WebJob is running python 3.4.</p>
  
  <p>Ideally I would like to put a <code>requirements.txt</code> somewhere, but this doesn't seem to work with Azure WebJobs.</p>