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

无法安装ai4bharat-transliteration,遇omegaconf版本兼容问题

解决ai4bharat-transliteration安装失败问题

安装ai4bharat-transliteration时出现以下警告,且已安装Visual C++ build tools仍无法完成安装:

DEPRECATION: omegaconf 2.0.6 has a non-standard dependency specifier PyYAML>=5.1.*. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of omegaconf or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at pypa/pip#12063

以下是可行的解决步骤:

  • 先安装指定版本的omegaconf和PyYAML,规避版本依赖冲突:
    pip install omegaconf==2.1.1 PyYAML==5.4.1
    
  • 再执行ai4bharat-transliteration的安装命令:
    pip install ai4bharat-transliteration
    
  • 若上述方法无效,可尝试跳过自动依赖检查,手动安装依赖:
    pip install ai4bharat-transliteration --no-deps
    
    之后根据项目文档的依赖列表,手动安装所需的其他依赖包。

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.06.30 02:34:50