Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip packages for Python 3.8 and 3.9 missing #469

Open
superbock opened this issue Feb 26, 2021 · 5 comments
Open

Pip packages for Python 3.8 and 3.9 missing #469

superbock opened this issue Feb 26, 2021 · 5 comments
Assignees
Milestone

Comments

@superbock
Copy link
Collaborator

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
@superbock superbock self-assigned this Feb 26, 2021
@snownstone
Copy link

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

Selection_011

Selection_010

Reinstall did not solve it.

@superbock
Copy link
Collaborator Author

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

@snownstone
Copy link

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.

@jpauwels
Copy link
Contributor

jpauwels commented May 6, 2021

@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 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.

@superbock superbock added this to the 0.17 milestone Jun 12, 2021
@danuo
Copy link

danuo commented Apr 18, 2022

@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 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.

With this I could successfully install on python 3.10.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants