-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
install seems broken #1306
Comments
To maximise the probability of someone answering your question:
|
I'm having the same issue on Python 3.10 (update downgrade to 3.8) macbook m1. I basically cannot install hmmlearn 2.7 or 2.8 that is required by pyannote.audio (I can install 2.6 though). [Update] I solved the problem building hmmlearn locally, but it's not optimal. |
Same...
in VS Code: executing the file gives the following error:
May be unrelated though. |
I have the very same error after trying to overcome the installation issue. |
This should work for the also run this Should fix the |
what worked for me: torch==1.13.1
torchvision==0.14.1
torchaudio==0.13.1
git+https://github.com/hmmlearn/hmmlearn
git+https://github.com/pyannote/pyannote-audio.git@develop |
Working on mac with those install thanks. |
@Jacubeit Worked for me on Colab, thanks 👍 |
I've got an M1 pro on Ventura 13.3.1 (22E261) and I've got the same error as @Jacubeit . |
Worked for me as well to get PyTorch working for WhisperX |
Hi, can anyone help me with this error? I try to run the code but i got the error The repository pyannote_pyannote-audio does not belong to the list of trusted repositories and as such cannot be downloaded. Do you trust this repository and wish to add it to the trusted list of repositories (y/N)?y
|
I already download what they told to do, but there is no file name hubconf.py I cannot understand what to do |
That was not working in Google Colab and I resolved this by testing:
Thanks anyway! |
worked for me |
Hi everyone,
I am trying to use pyannote audio on 2 envs :
Using python 3.10
one is macbook m2
the other one is on linux cloud, using beam.cloud
The installation seems broken on the two levels.
First, the conda command do not work on Macs, because of version compatibility.
Second the commande pip install pyannote.audio do not seems to work either.
On the cloud, when install, I can not find in Pipeline in pyannote.audio import.
I've see a chunk of code (https://huggingface.co/pyannote/segmentation) where the pipe is imported with models (Btw the first two lines of code are wrong, see importe model and usage at Model)
Am I the only one experiencing those problems?
Here is the install response on Mac :
rc/_hmmc.cpp:35:34: warning: braces around scalar initializer [-Wbraced-scalar-init] auto log = py::array_t<double>{{n}}; ^~~ src/_hmmc.cpp:63:39: warning: braces around scalar initializer [-Wbraced-scalar-init] auto scaling_ = py::array_t<double>{{ns}}; ^~~~ src/_hmmc.cpp:66:8: error: call to deleted constructor of 'pybind11::gil_scoped_release' auto nogil = py::gil_scoped_release{}; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /private/var/folders/xk/15kdb5qd7hzgslpkbw6mzvy00000gn/T/pip-install-noyfhjeh/hmmlearn_d290987eb9b947adb965e39ff85b5c02/.eggs/pybind11-2.10.4-py3.10.egg/pybind11/include/pybind11/gil.h:155:5: note: 'gil_scoped_release' has been explicitly marked deleted here gil_scoped_release(const gil_scoped_release &) = delete; ^ src/_hmmc.cpp:120:8: error: call to deleted constructor of 'pybind11::gil_scoped_release' auto nogil = py::gil_scoped_release{}; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /private/var/folders/xk/15kdb5qd7hzgslpkbw6mzvy00000gn/T/pip-install-noyfhjeh/hmmlearn_d290987eb9b947adb965e39ff85b5c02/.eggs/pybind11-2.10.4-py3.10.egg/pybind11/include/pybind11/gil.h:155:5: note: 'gil_scoped_release' has been explicitly marked deleted here gil_scoped_release(const gil_scoped_release &) = delete; ^ src/_hmmc.cpp:154:8: error: call to deleted constructor of 'pybind11::gil_scoped_release' auto nogil = py::gil_scoped_release{}; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /private/var/folders/xk/15kdb5qd7hzgslpkbw6mzvy00000gn/T/pip-install-noyfhjeh/hmmlearn_d290987eb9b947adb965e39ff85b5c02/.eggs/pybind11-2.10.4-py3.10.egg/pybind11/include/pybind11/gil.h:155:5: note: 'gil_scoped_release' has been explicitly marked deleted here gil_scoped_release(const gil_scoped_release &) = delete; ^ src/_hmmc.cpp:188:8: error: call to deleted constructor of 'pybind11::gil_scoped_release' auto nogil = py::gil_scoped_release{}; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /private/var/folders/xk/15kdb5qd7hzgslpkbw6mzvy00000gn/T/pip-install-noyfhjeh/hmmlearn_d290987eb9b947adb965e39ff85b5c02/.eggs/pybind11-2.10.4-py3.10.egg/pybind11/include/pybind11/gil.h:155:5: note: 'gil_scoped_release' has been explicitly marked deleted here gil_scoped_release(const gil_scoped_release &) = delete; ^ src/_hmmc.cpp:222:8: error: call to deleted constructor of 'pybind11::gil_scoped_release' auto nogil = py::gil_scoped_release{}; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /private/var/folders/xk/15kdb5qd7hzgslpkbw6mzvy00000gn/T/pip-install-noyfhjeh/hmmlearn_d290987eb9b947adb965e39ff85b5c02/.eggs/pybind11-2.10.4-py3.10.egg/pybind11/include/pybind11/gil.h:155:5: note: 'gil_scoped_release' has been explicitly marked deleted here gil_scoped_release(const gil_scoped_release &) = delete; ^ src/_hmmc.cpp:258:8: error: call to deleted constructor of 'pybind11::gil_scoped_release' auto nogil = py::gil_scoped_release{}; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /private/var/folders/xk/15kdb5qd7hzgslpkbw6mzvy00000gn/T/pip-install-noyfhjeh/hmmlearn_d290987eb9b947adb965e39ff85b5c02/.eggs/pybind11-2.10.4-py3.10.egg/pybind11/include/pybind11/gil.h:155:5: note: 'gil_scoped_release' has been explicitly marked deleted here gil_scoped_release(const gil_scoped_release &) = delete; ^ src/_hmmc.cpp:289:47: warning: braces around scalar initializer [-Wbraced-scalar-init] auto state_sequence_ = py::array_t<ssize_t>{{ns}}; ^~~~ src/_hmmc.cpp:293:8: error: call to deleted constructor of 'pybind11::gil_scoped_release' auto nogil = py::gil_scoped_release{}; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /private/var/folders/xk/15kdb5qd7hzgslpkbw6mzvy00000gn/T/pip-install-noyfhjeh/hmmlearn_d290987eb9b947adb965e39ff85b5c02/.eggs/pybind11-2.10.4-py3.10.egg/pybind11/include/pybind11/gil.h:155:5: note: 'gil_scoped_release' has been explicitly marked deleted here gil_scoped_release(const gil_scoped_release &) = delete; ^ 3 warnings and 7 errors generated. error: command '/usr/bin/clang' failed with exit code 1
Here is the import problem on cloud :
/usr/local/lib/python3.10/dist-packages/torchaudio/_internal/module_utils.py:99: UserWarning: Failed to import soundfile. 'soundfile' backend is not available. warnings.warn("Failed to import soundfile. 'soundfile' backend is not available.") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.10/dist-packages/pyannote/audio/__init__.py", line 29, in <module> from .core.inference import Inference File "/usr/local/lib/python3.10/dist-packages/pyannote/audio/core/inference.py", line 35, in <module> from pyannote.audio.core.model import Model File "/usr/local/lib/python3.10/dist-packages/pyannote/audio/core/model.py", line 46, in <module> from pyannote.audio.core.task import Problem, Resolution, Specifications, Task File "/usr/local/lib/python3.10/dist-packages/pyannote/audio/core/task.py", line 45, in <module> from torch_audiomentations import Identity File "/usr/local/lib/python3.10/dist-packages/torch_audiomentations/__init__.py", line 1, in <module> from .augmentations.background_noise import AddBackgroundNoise File "/usr/local/lib/python3.10/dist-packages/torch_audiomentations/augmentations/background_noise.py", line 10, in <module> from ..utils.file import find_audio_files_in_paths File "/usr/local/lib/python3.10/dist-packages/torch_audiomentations/utils/file.py", line 5, in <module> import soundfile File "/usr/local/lib/python3.10/dist-packages/soundfile.py", line 142, in <module> raise OSError('sndfile library not found') OSError: sndfile library not found
The text was updated successfully, but these errors were encountered: