Closed johentsch closed 2 years ago
This was fixed in https://github.com/CPJKU/madmom/commit/45e9e7b756fa66cfbe3b1f96e142ee5ad6011ec8 already, will be included in v0.17 (to be released soon). So installing from source instead of using pip should solve the problem immediately.
This was fixed in 45e9e7b already, will be included in v0.17 (to be released soon). So installing from source instead of using pip should solve the problem immediately.
when i try to install from source as it says i pasted "git clone --recursive https://github.com/CPJKU/madmom.git" and it said git command not found what do i do
i pasted it into cmd btw wher epython works
You need to install git first, otherwise it won't work.
You need to install git first, otherwise it won't work.
yeah thanks it didnt work when i installed git but i installed vscode and in its terminal it works
This was fixed in https://github.com/CPJKU/madmom/commit/45e9e7b756fa66cfbe3b1f96e142ee5ad6011ec8 already, will be included in v0.17 @superbock what is preventing this fix to be published?
The CI pipelines need to be updated. Most likely we should move to Github actions, PRs welcome ;)
This is still an issue, over a year later? Can confirm that this works (ignore the extra flags) !pip install --upgrade --no-deps --force-reinstall --quiet 'git+https://github.com/CPJKU/madmom.git'
This is still an issue, over a year later?
Well, moving to Github actions will probably take 2-3 hours of fiddling if you haven't done that before, I can sympathize with @superbock.
If you don't have git available for some reason, you can also do:
pip install --upgrade https://github.com/CPJKU/madmom/archive/master.zip
Or, to install a particular commit, do:
pip install --force-reinstall --no-deps https://github.com/CPJKU/madmom/archive/45e9e7b756fa66cfbe3b1f96e142ee5ad6011ec8.zip
/edit: This will not work because it misses the madmom/models submodule. The result will be an installation of madmom that cannot be imported. Cloning the repository including submodules is the only working solution (https://madmom.readthedocs.io/en/latest/installation.html#install-from-source).
Expected behaviour
import madmom
would be necessary to work in order to use this library.Actual behaviour
Fails with
ImportError: cannot import name 'MutableSequence' from 'collections' (..../python3.10/collections/__init__.py)
Steps needed to reproduce the behaviour
Import madmom under python 3.10
Suggested solution
Import MutableSequences from
collections.abc