当前位置: 首页 > news >正文

MFA MACOS 安装流程

1. 下载 miniconda安装文件:

https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh 

2. 安装Miniconda3

miniconda % ./Miniconda3-latest-MacOSX-x86_64.sh -b -p ../miniconda

software % ./miniconda-sh/Miniconda3-latest-MacOSX-x86_64.sh -b -p miniconda
PREFIX=/Users/rsun/software/miniconda
Unpacking bootstrapper...
Unpacking payload...Installing base environment...Preparing transaction: ...working... done
Executing transaction: ...working... 
done
installation finished.

3. 配置Miniconda

In order to initialize after the installation process is done, first run source <path to conda>/bin/activate and then run conda init zsh.

software % source ./miniconda/bin/activate
software % conda init zsh
no change     /Users/rsun/software/miniconda/condabin/conda
no change     /Users/rsun/software/miniconda/bin/conda
no change     /Users/rsun/software/miniconda/bin/conda-env
no change     /Users/rsun/software/miniconda/bin/activate
no change     /Users/rsun/software/miniconda/bin/deactivate
no change     /Users/rsun/software/miniconda/etc/profile.d/conda.sh
no change     /Users/rsun/software/miniconda/etc/fish/conf.d/conda.fish
no change     /Users/rsun/software/miniconda/shell/condabin/Conda.psm1
modified      /Users/rsun/software/miniconda/shell/condabin/conda-hook.ps1
no change     /Users/rsun/software/miniconda/lib/python3.13/site-packages/xontrib/conda.xsh
no change     /Users/rsun/software/miniconda/etc/profile.d/conda.csh
modified      /Users/rsun/.zshrc==> For changes to take effect, close and re-open your current shell. <==

4. conda 更新

software % conda update conda
Do you accept the Terms of Service (ToS) for 
https://repo.anaconda.com/pkgs/main? [(a)ccept/(r)eject/(v)iew]: a
Do you accept the Terms of Service (ToS) for https://repo.anaconda.com/pkgs/r? 
[(a)ccept/(r)eject/(v)iew]: a
2 channel Terms of Service accepted
Retrieving notices: done
Channels:- defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: done# All requested packages already installed.

5. 安装MFA

conda create -n aligner -c conda-forge montreal-forced-aligner

software % conda create -n aligner -c conda-forge montreal-forced-aligner
2 channel Terms of Service accepted
Channels:- conda-forge- defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: done## Package Plan ##environment location: /Users/rsun/software/miniconda/envs/aligneradded / updated specs:- montreal-forced-alignerThe following packages will be downloaded:
......
Downloading and Extracting Packages:Preparing transaction: done                                                     
Verifying transaction: done                                                     
Executing transaction: -                                                        
\                                                                               
\                                                                               
done                                                                            
#                                                                               
# To activate this environment, use                                             
#                                                                               
#     $ conda activate aligner                                                  
#                                                                               
# To deactivate an active environment, use                                      
#                                                                               
#     $ conda deactivate        

6.激活新的新环境:conda activate aligner

software % conda activate aligner 
(aligner)  software % 

7.安装 SpeechBrain

在上面的aligner环境下执行以下命令

conda install pytorch torchvision torchaudio cpuonly -c pytorch

conda install -c conda-forge speechbrain

(aligner) software % conda install -c conda-forge speechbrain
2 channel Terms of Service accepted
Channels:- conda-forge- defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: failedPackagesNotFoundError: The following packages are not available from current channels:- speechbrainCurrent channels:- https://conda.anaconda.org/conda-forge- defaultsTo search for alternate channels that may provide the conda package you're
looking for, navigate tohttps://anaconda.organd use the search bar at the top of the page.

8. 安装mfa

conda update -c conda-forge montreal-forced-aligner

(aligner)  software % conda update -c conda-forge montreal-forced-aligner
2 channel Terms of Service accepted
Channels:- conda-forge- defaults
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: done# All requested packages already installed.

详见https://montreal-forced-aligner.readthedocs.io/en/latest/installation.html

http://www.dtcms.com/a/581190.html

相关文章:

  • Ubuntu 上部署 Microsoft SQL Server 详细教程
  • 网站上面怎么做链接微信网站合同
  • 关于网站建设与维护的参考文献phpcms 恢复网站
  • 圆角边框+阴影
  • Android14 init.environ.rc详解
  • 网段并网,打通网络
  • VBA之Word应用第四章第四节:段落集合Paragraphs对象的方法(二)
  • 深耕蓝牙物联网十年:北京桂花网 2015-2025 发展大事件全景
  • MCU微控制器,N32H47x高性能MCU机器人关节控制方案
  • 年销 1.3 亿的 AI 商业操盘手陈灏陈厂长确认登陆创客匠人万人峰会
  • 用户体验 网站重庆便民服务网站APP
  • 教育类网站建站建筑工程网格化管理的目的和意义
  • Flink Source源码解析
  • 春招准备之MyBatis框架篇
  • 华为交换机上配置基于 IP 地址的 ACL
  • 【C++练习】31. C++计算最大公约数(GCD)
  • 从普通屏到 明基RD320U:一台显示器如何提升我的编码效率?
  • 从 ACID 到 MVCC,MySQL 事务与隔离级别超详解
  • 植物生理研究的精准量化:光合作用测定仪的应用与前景
  • Win电脑文字转语音,不限使用次数和字数!可将文字文本内容转换为朗读配音的音频文件!多功能语音合成,内置多语种、多角色语音配音模型,支持普通话标准发音和方言!
  • 网页设计与网站建设作业答案淘宝宝贝关键词排名查询工具
  • 2025年CSP-X复赛真题及题解(山东):T2IOI串
  • 基于网易CodeWave智能开发平台构建宝可梦图鉴
  • Ubuntu2204降内核版本
  • 数据在网络上的转发过程
  • 跨地域传文件太麻烦?Nginx+cpolar 让本地服务直接公网访问
  • ASP.NET MVC 数据验证进阶:用 IValidatableObject 实现自定义验证逻辑 引言:为什么需要 “自定义验证”?
  • 网站流量报表摄像头怎么做直播网站
  • XMOS与飞腾云联袂以模块化方案大幅加速音频产品落地
  • AI 下的 Agent 技术全览