title: Installing numpy on AWS Lambda server - C dependency error, no gcc
body: <p>I've been successfully able to install python modules in my python lambda function using <code>subprocess</code>, a virtual environment, and <code>pip</code> calls. However, this only works if they don't have C dependencies, like with <code>numpy</code> or <code>pandas</code> (the <code>subprocess.check_output()</code> call only says it fails with exit status 1). </p>
  
  <p>It appears that the lambda servers don't have <code>gcc</code> installed, and there's no <code>apt-get</code> to install or <code>sudo</code>, <code>chroot</code> or similar command to let give permission. It does have <code>install</code> so I may be able to install it locally if I can find a standalone <code>gcc</code> package, but since I don't have root access or <code>chroot</code> I suspect that won't work. </p>
  
  <p>At this point I don't care about the right way to do this since it seems like Amazon doesn't want me to be doing this, any workaround to get C-dependent python modules to install would be fantastic.</p>