title: Install Python3.7 with Numpy natively on M1 Mac
body: <p>I need to Install Python3.7 to support Spark 2 on an M1 Mac.</p>
  <p>I can get Python3.7 installed using pyenv, but when I try to install any of the data science libs, like numpy, I get failure: <code>ModuleNotFoundError: No module named '_ctypes'</code></p>
  <p>This seems to be related to libffi. Looking through the build logs for pyenv, I'm seeing this error:</p>
  <pre><code>.../Python-3.7.10/Modules/_ctypes/libffi_osx/include/fficonfig.h:51:2: error: &quot;Unknown CPU type&quot;
  #error &quot;Unknown CPU type&quot;
   ^
  1 error generated.
  
  Python build finished successfully!
  Failed to build these modules:
  _ctypes               _decimal
  </code></pre>
  <p>Has anyone been able to successfully install 3.7 with numpy natively? I'm not looking for answers that involve Rosetta.</p>