Open owfrappier opened 1 year ago
one soluce i've found is to install after PYTHON official universal 3.11, Miniforge 3 and follow instructions here :
https://betterprogramming.pub/how-to-install-pytorch-on-apple-m1-series-512b3ad9bc6
and after : pip install -U demucs
I think I'm going to make diffq an optional dependency. Requiring compilation is a bit of a burden for newer Macs and the new models are not longer quantized. Adding that to my todo.
Same issue on Windows :
building 'diffq.bitpack' extension error: Microsoft Visual C++ 14.0 or greater is required. ERROR: Failed building wheel for diffq
VC 14 is installed, I've reinstalled it just in case and it still shows the error. This really makes me scratch my head.
🐛 Bug Report
ERROR: Failed building wheel for diffq - in ventura - mac mini M2 pro - Python 3.11.3 (from installer)
To Reproduce
error log :
running build_ext building 'diffq.bitpack' extension creating build/temp.macosx-10.9-universal2-cpython-311 clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c bitpack.c -o build/temp.macosx-10.9-universal2-cpython-311/bitpack.o clang: error: no such file or directory: 'bitpack.c' clang: error: no input files error: command '/usr/bin/clang' failed with exit code 1 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for diffq Running setup.py clean for diffq Failed to build diffq ERROR: Could not build wheels for diffq, which is required to install pyproject.toml-based projects