madmom
madmom copied to clipboard
Pip packages for Python 3.8 and 3.9 missing
Expected behaviour
Installing via pip install madmom
should work for newer Python versions as well.
Actual behaviour
$ pip install madom
ERROR: Could not find a version that satisfies the requirement madom
ERROR: No matching distribution found for madom
Ubuntu 20.0, Python 3.8.7, I can successfully install madmom 0.16.1 by pip install madmom
.
However, I met import error after I successfully installed madmom 0.17.dev0 (to use the hpss submodule in audio) by pip install -e git+https://github.com/CPJKU/madmom#egg=madmom
Reinstall did not solve it.
Installation via pip install -e git+https://github.com/CPJKU/madmom#egg=madmom
is not supported, since the package contains code which needs to be compiled.
I will update the PyPI packages soon and include compatibility for newer Python versions. In the mean time you can install from source as described here: https://madmom.readthedocs.io/en/latest/installation.html#install-from-source
I read the instruction of install from source, but I did not follow it because of my confusion about the procedure in pyenv. I will try again as the suggested way.
Thank you very much for your excellent work and generous sharing.
@snownstone The solution is either to update your Numpy to v1.20 or wait for my PR https://github.com/CPJKU/madmom/pull/474 to be merged.
Btw @superbock, installation via pip install -e git+https://github.com/CPJKU/madmom#egg=madmom
should work (again) after that, it's not the cause of this error. The reason why pip install madmom
works in this case is that it uses a wheel that has been build before Numpy v1.20 was released. If you'd build wheels for madmom v0.16.1 and/or Python 3.8 or 3.9 at this moment, you'd risk running into the same problem.
@snownstone The solution is either to update your Numpy to v1.20 or wait for my PR #474 to be merged.
Btw @superbock, installation via
pip install -e git+https://github.com/CPJKU/madmom#egg=madmom
should work (again) after that, it's not the cause of this error. The reason whypip install madmom
works in this case is that it uses a wheel that has been build before Numpy v1.20 was released. If you'd build wheels for madmom v0.16.1 and/or Python 3.8 or 3.9 at this moment, you'd risk running into the same problem.
With this I could successfully install on python 3.10.4