pythonnumpypipanacondaintel-mkl

Install `numpy` and `scipy` MKL from Anaconda on `pip` Environment


In anaconda the default numpy and scipy packages are backed by Intel MKL:

Is there a way to install them with pip?

Attention

The instructions by Intel on https://pypi.org/project/intel-numpy/ and https://pypi.org/project/intel-scipy/ doesn't work as the latest files there only support Python 3.9 and have non updated versions of scipy. This is the motivation for this question.


Solution

  • There's now https://github.com/urob/numpy-mkl which automatically builds current numpy and scipy wheels linked against mkl whenever there's a new release.

    Wheels are available for Windows and Linux and can be installed with pip:

    pip install numpy scipy --extra-index-url https://urob.github.io/numpy-mkl