What is the numpy pypi package naming convention

863 views Asked by At

Trying to determine which numpy package is compatible with my python environment. My server has no internet access, so I need to download and install the package locally.

I know the cp27 refers to Python 2.7, but what is the difference between these two packages:

numpy-1.12.0rc1-cp27-cp27m-manylinux1_x86_64.whl
numpy-1.12.0rc1-cp27-cp27mu-manylinux1_x86_64.whl
1

There are 1 answers

1
jonrsharpe On BEST ANSWER

The differing part is an ABI tag.

  • mu indicates --enable-unicode=ucs4

  • m on its own is --enable-unicode=ucs2

See UCS-2 vs UCS-4 builds; to determine which you need for your current installation, see How to find out if Python is compiled with UCS-2 or UCS-4?