-
Notifications
You must be signed in to change notification settings - Fork 21
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
cython missing? #12
Comments
I am getting the same problem, did you manage to solve it? |
You can simply install it:
Packet maintainer has to add this to the list of required packages |
But then I get compilation errors for |
So if I try python3.10 Cython is missing even if it is installed as a python package.
|
This is a viable option for use AudioOwl on windows without wsl.The first thing is that madmom has poor compatibility with MSBuild, so it may be can compiled with mingw64 as a compiler Tested in py3.6, it should work in 37, but 38 is not clear, and 39 and above will fail (we'll describe why at the end). 1. Prepare the compilation environmentGo to Google and find the mingw32-w64 build, download it and throw it on your hard disk, then add {path to mingw32-w64}/bin to the path of your system environment variable. Then update your setuptools and wheel, and make sure you have cython installation
2. Building madmombuild preparationAccording to https://github.com/CPJKU/madmom: git clone https://github.com/CPJKU/madmom
cd madmom
git submodule update --init --remote Then do a version switch build & packagepython setup.py build -c mingw32 # -c is responsible for specifying mingw32 as the compiler, setuptools will automatically look for the appropriate gcc
python setup.py bdist_wheel installpip install dist/madmom-0.15.1-cp36-cp36m-win_amd64.whl Different python versions will have different names, just copy the filename. 3. The next step is to build and install audioOwl, which is a similar process.git clone https://github.com/dodiku/AudioOwl
cd AudioOwl
python setup.py build -c mingw32
python setup.py bdist_wheel
pip install dist/audioowl-0.0.14-py3-none-any.whl And AudioOwl should be working now. For an analysis of why higher versions of python failI've spent a lot of time testing the high version of python and it fails. I managed to compile it in two ways, but without exception, it compiled successful and reported errors during execution. |
I tried to install in windows python 3.10 conda env and encountered error below. After "pip install cython" the error went away. Maybe update installation instructions, or add to requirements.txt? But then the pip install audioowl failed with error below
Thanks!
The text was updated successfully, but these errors were encountered: