title: How do I install Keras on arm64, Ubuntu 16.04?
body: <p>I tried <code>pip install --user keras==1.0.6</code> but it fails to build scipy. It returns:</p>
  
  <p><code>numpy.distutils.system_info.NotFoundError: no lapack/blas resources found</code></p>
  
  <p>and</p>
  
  <p><code>failed with error code 1 in /tmp/pip-build-XjG1HN/scipy/</code>.</p>
  
  <p>I also tried installing scipy alone, using <a href="http://www.scipy.org/install.html#installing-via-pip" rel="nofollow noreferrer">these instructions</a>:</p>
  
  <pre><code>export PATH="$PATH:/home/your_user/.local/bin"
  pip install --user scipy
  </code></pre>
  
  <p>But received the same errors.</p>
  
  <p>Note: While posting this I realized I didn't replace <code>your_user</code> with <code>$USER</code>. However, I found a different solution, see answer below.</p>