You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

安装Pyannote-audio时遇onnxruntime-gpu>=1.16.0匹配版本缺失问题求助

安装pyannote-audio时无法满足onnxruntime-gpu依赖问题
  • 项目需要安装pyannote-audio,其依赖要求onnxruntime-gpu版本≥1.16.0,但始终无法完成该依赖的安装。
  • 曾切换Python版本到3.9.18(因了解到非GPU版onnxruntime在Python<3.10环境可运行),问题未解决。
  • 尝试过用pip、pip3、conda安装,conda源仅提供onnxruntime,无onnxruntime-gpu版本;虽能安装onnxruntime,但pyannote必须依赖onnxruntime-gpu才能正常运行。

安装尝试的终端输出

安装onnxruntime-gpu的尝试

(Health) positive@Positives-MacBook-Air Health_Project % python --version                                          
Python 3.9.18
(Health) positive@Positives-MacBook-Air Health_Project % pip install onnxruntime-gpu==1.16.0
ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu==1.16.0 (from versions: none)
ERROR: No matching distribution found for onnxruntime-gpu==1.16.0
WARNING: There was an error checking the latest version of pip.

安装pyannote-audio的尝试

(Health) positive@Positives-MacBook-Air Health_Project % pip install git+https://github.com/pyannote/pyannote-audio

Collecting git+https://github.com/pyannote/pyannote-audio
  Cloning https://github.com/pyannote/pyannote-audio to /private/var/folders/9s/qklpxqb97t7cvv5cz01vb27h0000gn/T/pip-req-build-rfg6qf22
  Running command git clone --filter=blob:none --quiet https://github.com/pyannote/pyannote-audio /private/var/folders/9s/qklpxqb97t7cvv5cz01vb27h0000gn/T/pip-req-build-rfg6qf22
  Resolved https://github.com/pyannote/pyannote-audio to commit 26ca0514394ee8faef044b1da0fcf99e53cc22c1
  Running command git submodule update --init --recursive -q
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting asteroid-filterbanks>=0.4 (from pyannote.audio==3.0.1)
  Using cached asteroid_filterbanks-0.4.0-py3-none-any.whl (29 kB)
Collecting einops>=0.6.0 (from pyannote.audio==3.0.1)
  Using cached einops-0.7.0-py3-none-any.whl.metadata (13 kB)
Collecting huggingface-hub>=0.13.0 (from pyannote.audio==3.0.1)
  Using cached huggingface_hub-0.18.0-py3-none-any.whl.metadata (13 kB)
Collecting lightning>=2.0.1 (from pyannote.audio==3.0.1)
  Using cached lightning-2.1.0-py3-none-any.whl.metadata (64 kB)
Collecting omegaconf<3.0,>=2.1 (from pyannote.audio==3.0.1)
  Using cached omegaconf-2.3.0-py3-none-any.whl (79 kB)
INFO: pip is looking at multiple versions of pyannote-audio to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu>=1.16.0 (from pyannote-audio) (from versions: none)
ERROR: No matching distribution found for onnxruntime-gpu>=1.16.0
WARNING: There was an error checking the latest version of pip.

当前环境

  • macOS Ventura v13.5
  • Python v3.9.18
  • pip v23.3
  • conda v23.5.2

内容的提问来源于stack exchange,提问作者P0sitive

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.08 11:35:25