Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the meaning of all abbreviations in wheel filename notation on Christoph Gohlke's website?

I wanted to install OpenCV for Python3 on my machine following this tutorial, but I'm faced with a problem of numpy version notation on Christoph Gohlke's website, more precisely what does for example

numpy‑1.14.2+mkl‑cp36‑cp36m‑win32.whl

notation mean, I don't understand what version I have to download. Which one of versions listed here do I install based on my system specs?

I've read through the header introduction on Christoph Gohlke's website but didn't find any explanation.

like image 252
Angramme Avatar asked Dec 25 '18 17:12

Angramme


1 Answers

numpy‑1.14.2+mkl‑cp36‑cp36m‑win32.whl

numpy — well, obviously
1.14.2 — version of NumPy
mkl — compiled with Intel Math Kernel Library
cp36‑cp36m — for CPython version 3.6
win32 — for 32-bit Python on Windows (Windows could be 32- or 64-bit)
win_amd64 — for 64-bit Python on Windows (Windows must be 64-bit)
pp360 — PyPy3 version 6.0.

To see what Python you've installed run

python.exe -c "from pip._internal import pep425tags; print(pep425tags.get_supported())"

The output will be something like

[('cp27', 'cp27mu', 'linux_aarch64'), ('cp27', 'none', 'linux_aarch64'), ('py2', 'none', 'linux_aarch64'), ('cp27', 'none', 'any'), ('cp2', 'none', 'any'), ('py27', 'none', 'any'), ('py2', 'none', 'any'), ('py26', 'none', 'any'), ('py25', 'none', 'any'), ('py24', 'none', 'any'), ('py23', 'none', 'any'), ('py22', 'none', 'any'), ('py21', 'none', 'any'), ('py20', 'none', 'any')]
like image 128
phd Avatar answered Oct 12 '22 12:10

phd