title: CMake Error: could NOT find Python (missing: Python_NumPy_INCLUDE_DIRS NumPy) (found version "2.7.17")
body: <p>I encounter with this error during my build</p>
  <pre><code>CMake Error at /opt/cmake-3.21.1-linux-x86_64/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
    Could NOT find Python (missing: Python_NumPy_INCLUDE_DIRS NumPy) (found
    version &quot;2.7.17&quot;)
  Call Stack (most recent call first):
    /opt/cmake-3.21.1-linux-x86_64/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
    /opt/cmake-3.21.1-linux-x86_64/share/cmake-3.21/Modules/FindPython.cmake:556 (find_package_handle_standard_args)
    faiss/python/CMakeLists.txt:116 (find_package)
  </code></pre>
  <p>I've already installed <code>sudo apt-get install python-dev</code> and also tried adding</p>
  <pre><code>-DPYTHON_INCLUDE_DIR=$(python -c &quot;from distutils.sysconfig import get_python_inc; print(get_python_inc())&quot;)  \
  -DPYTHON_LIBRARY=$(python -c &quot;import distutils.sysconfig as sysconfig; print(sysconfig.get_config_var('LIBDIR'))&quot;)
  </code></pre>
  <p>Still get the same error. My python is in <code>/home/dfw/anaconda3/bin/python</code> and its version is 3.7.11. My cmake version is 3.21.1. How can I fix this?</p>