Skip to content Skip to sidebar Skip to footer

Gohlke's Numpy + Mkl Installation - Change Mkl Install Directory On Windows

I've been trying to get a working fast numpy with BLAS on Windows, and so far, the only method that seems feasible is downloading the precompiled library with MKL from http://www.l

Solution 1:

Numpy+MKL does not place (or try to place) MKL libraries in C:\program files (x86)\IntelSWTools. The MKL runtime DLLs necessary to use numpy+MKL are copied to sys.prefix\Lib\site-packages\numpy\core during installation with pip.

C:\program files (x86)\IntelSWTools is the location of the MKL development files (link libraries, header files, DLLs, documentation) that were used to build numpy+MKL. If you want to build other software from source that relies on MKL development files, you need to download MKL from Intel.

Solution 2:

I have tried something like this:

pip install --install-option="--prefix=$PREFIX_PATH" package_name

I the above line:

$PREFIX_PATH ---- Change the path you want to specify.
package_name ---- Change the Package name with the desired package name or the wheel file.  

On Windows, I tried the above and it is not working. But the below answer will work:

python.exe -m pip install --target=c:\data\ pandas

The pandas got stored in the data folder. Only the thing we need to do is we have to specify the path to our Python, so that it will fetch the proper library. You can go in the data folder and run python. You will be able to access the library. Hope this helps you.

Post a Comment for "Gohlke's Numpy + Mkl Installation - Change Mkl Install Directory On Windows"