我已经在Python中安装了numpy 1.9.0。现在我该怎么做才能获得numpy + mkl?
If you do not have an entire Python distribution or you do not want to install one, you can download and install a compiled whl
package from Christoph Gohlke's webpage . This whl
contains numpy
and is linked against mkl
. When installing this package, you install both: numpy
with the mkl
dependencies.
All you have to do is:
whl
file (Choose the right Python version and 32/64 file) Windows+R
and by running inside cmd
whl
file, with cd
instructions pip install numpy‑1.XX.Y+mkl‑cp3X‑cp3Xm‑win_amd64.whl
For example, the command can be
pip install numpy‑1.11.3+mkl‑cp35‑cp35m‑win_amd64.whl
You can do it for any package with some code that has to be compiled
The easiest way is to install an entire Python distribution with lots of included packages, such as numpy and mkl. I would suggest the Anaconda Python distribution, https://www.continuum.io/downloads
The above answer does great (+1) and brought me on the right track, but to clear things up even more:
.whl
from here .whl
you need to know numpy‑1.11.3+mkl‑cp XX ‑cp XX m‑win_amd64.whl where the XX are actually your python version (eg 36 for python version 3.6.x) pip install numpy‑1.11.3+mkl‑cp**XX**‑cp**XX**m‑win_amd64.whl
in your cmd window and the place where you did download the .whl
into
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.