title: Importing the numpy C-extensions failed (Amplify)
body: <p>Cross posted on <a href="https://github.com/numpy/numpy/issues/19774" rel="nofollow noreferrer">GitHub</a></p>
  
  <p>I'm working with AWS Amplify and pipenv for my python 3.9 lambda. I'm attempting to use pandas to create a dataframe, do some processing and write it back to CSV for sagemaker inference.</p>
  <h3>Reproducing code example:</h3>
  
  <pre class="lang-py prettyprint-override"><code>import pandas as pd
  </code></pre>
  <p>(Code immediately fails after this)</p>
  <h3>Error message:</h3>
  <p>Here's the full error message:</p>
  <pre><code>[ERROR] Runtime.ImportModuleError: Unable to import module 'index': 
  
  IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
  
  Importing the numpy C-extensions failed. This error can happen for
  many reasons, often due to issues with your setup or how NumPy was
  installed.
  
  We have compiled some common reasons and troubleshooting tips at:
  
      https://numpy.org/devdocs/user/troubleshooting-importerror.html
  
  Please note and check the following:
  
    * The Python version is: Python3.9 from &quot;/var/lang/bin/python3.9&quot;
    * The NumPy version is: &quot;1.21.2&quot;
  
  and make sure that they are the versions you expect.
  Please carefully study the documentation linked above for further help.
  
  Original error was: No module named 'numpy.core._multiarray_umath'
  
  </code></pre>
  <p>I first downloaded with <code>pipenv install pandas</code> which automatically installs numpy</p>
  <p>To solve I've tried:</p>
  <ul>
  <li><code>pipenv install numpy / pipenv uninstall numpy</code></li>
  <li><code>pipenv uninstall pandas / pipenv install pandas</code></li>
  <li><code>pipenv uninstall setuptools / pipenv install setuptools</code></li>
  </ul>
  <p>Important to note I'm on Windows 10</p>