0

I was using numpy with the MKL compilation however when developing a GUI program i hit the following OMP warning when numpy 1.9.2+MKL is packaged with py2exe

Therefore I need to use the non-mkl numpy version, so I added the second wheel to my wheelhouse.

numpy-1.9.2+mkl-cp27-none-win32.whl
numpy-1.9.2-cp27-none-win32.whl

in my requirements file, I can state the following

numpy==1.9.2

Then pip installs one of the above wheels .

Is there a way to tell pip which of the above numpy versions that I want to install from the above list ? I cannot find a generic way to do this ?

Machavity
  • 30,841
  • 27
  • 92
  • 100
JamesD
  • 2,466
  • 24
  • 40

1 Answers1

1

You can add the used BLAS library name to the local version identifier like

numpy-1.9.2+mkl-cp27-none-win32.whl
numpy-1.9.2+atlas-cp27-none-win32.whl

and then specify the version like

numpy==1.9.2+atlas
Nils Werner
  • 34,832
  • 7
  • 76
  • 98