MFA MACOS 安装流程

  1. 下载 miniconda安装文件:
复制代码
https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh 
  1. 安装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.
  1. 配置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. <==
  1. 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.

  2. 安装MFA

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

bash 复制代码
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/aligner

  added / updated specs:
    - montreal-forced-aligner


The 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

bash 复制代码
software % conda activate aligner 
(aligner)  software % 

7.安装 SpeechBrain

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

conda install pytorch torchvision torchaudio cpuonly -c pytorch

conda install -c conda-forge speechbrain

bash 复制代码
(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: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - speechbrain

Current channels:

  - https://conda.anaconda.org/conda-forge
  - defaults

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
  1. 安装mfa

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

bash 复制代码
(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

相关推荐
柱子子子子3 小时前
Ubuntu24.04 不能使用todesk 解决办法
运维·服务器
天若有情6733 小时前
新闻通稿 | 软件产业迈入“智能重构”新纪元:自主进化、人机共生与责任挑战并存
服务器·前端·后端·重构·开发·资讯·新闻
BJ_Bonree3 小时前
圆桌论坛精华实录 | AI是重构运维逻辑的颠覆性革命?博睿数据与行业大咖亲授“AI+可观测性”的破局之道
运维·人工智能·重构
鱼干~3 小时前
electron基础
linux·javascript·electron
apocelipes3 小时前
POSIX兼容系统上read和write系统调用的行为总结
linux·c语言·c++·python·golang·linux编程
冬夜戏雪3 小时前
【尚庭公寓152-157】[第6天]【配置阿里云号码认证服务】
运维·服务器
恋上钢琴的虫4 小时前
openEuler上安装高版本的docker
运维·docker·容器
森语林溪4 小时前
大数据环境搭建从零开始(十四)CentOS 7 系统更新源更换详解:阿里云镜像源配置完整指南
大数据·linux·运维·阿里云·centos
Fanmeang4 小时前
华为交换机VLAN技术详解:从基础到高级应用
运维·网络·华为·vlan·交换机·mux vlan