moble / spherical_functions

Python/numba package for evaluating Wigner D matrices and spin-weighted spherical harmonics
MIT License
52 stars 11 forks source link

pip package is broken #22

Closed dkorotin closed 3 years ago

dkorotin commented 3 years ago

Trying to install spherical_functions from pip:


Collecting spherical_functions
  Using cached spherical-functions-2020.8.18.15.37.20.tar.gz (371 kB)
ERROR: Requested spherical_functions from https://files.pythonhosted.org/packages/09/9e/1878ff62a3728ca04734ca610150a872a9f55db3c888b592e98761c96755/spherical-functions-2020.8.18.15.37.20.tar.gz#sha256=775408f6b535151c99f4eb49c2d568298f4503b9c212bb574740b4178ca82043 has different version in metadata: '2021.2.8.4.18.30'```
moble commented 3 years ago

The file referenced above has the correct version metadata, and does not contain the string "2021.2.8.4.18.30" anywhere. This is evidently a bug in pip itself. My guess is that it is related to this bug.

Since pip has been updated since then, you could just upgrade pip with python -m pip install -U pip. If this doesn't work, that bug report suggests that you could work around it with pip install --use-deprecated legacy-resolver spherical_functions