Closed RustyDev closed 5 years ago
I'll have to dig into that. I might be a problem with Python 3.7 which hasn't been tested automatically yet. Could you try with Python 2.7 or 3.6 instead to rule this out?
If you can't install another Python version, you could also delete madmom/ml/nn/layers.pxd
file. Then this file won't be cythonised, but it will still work, since this is only there for speed reasons.
Resolved by using 3.66.
Ok, we have to check Python 3.7 compatibility.
Hi, I added Python 3.7 to the CI builds (#374). However, it does not fail and installs just fine.
I also tried locally on my Mac OS machine and can't reproduce it there likewise. However, I am on an older version (10.12) and use macports. It seems that you are using homebrew, right?
Can you please check if this problem still persists or if it is solved by the changes committed to the other branch. I am not sure if the changes made in layers.py
affect this problem or not.
Note https://github.com/cython/cython/issues/1955, which seems to be a root cause of a lot of these types of errors. Looking through that tangle of partial fixes led me to https://github.com/cython/cython/pull/2607 - which looks like it made it into release 0.29.
@RustyDev therefore given you state you were on Cython 0.28.4
, perhaps an upgrade to the latest brew cython (currently 0.29.1
) might fix this?
Actually this might indeed be the root of the problem. On top of that there was a time when packages on PyPI did not contain the .pyx files and came only with .c files. If those were generated with an older version of cython this could lead to these errors.
@RustyDev, could you please try again with the current PyPI version of madmom (v0.16.1) and if the error still persists, update cython to see if this solves the issue?
fyi: I just built it successfully on Windows (Python 3.7.2) using: numpy 1.15.4 scipy 1.2.1 cython 0.28.2 mido 1.2.9
so cython at least for me caused no issues..
Thanks for sharing this information. Since I don't use Windows I can not investigate this further and will close this issue since it worked at least for someone. Please feel free to add more information to this issue if available.
Hi, I'm having an issue installing madmom. Here's the output: