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

相关推荐
The森1 小时前
Linux IO 模型纵深解析 01:从 Unix 传统到 Linux 内核的 IO 第一性原理
linux·服务器·c语言·经验分享·笔记·unix
文艺理科生Owen1 小时前
Nginx 路径映射深度解析:从本地开发到生产交付的底层哲学
运维·nginx
期待のcode1 小时前
Redis的主从复制与集群
运维·服务器·redis
翼龙云_cloud1 小时前
腾讯云代理商: Linux 云服务器搭建 FTP 服务指南
linux·服务器·腾讯云
纤纡.1 小时前
Linux中SQL 从基础到进阶:五大分类详解与表结构操作(ALTER/DROP)全攻略
linux·数据库·sql
好好学习天天向上~~1 小时前
6_Linux学习总结_自动化构建
linux·学习·自动化
REDcker1 小时前
gRPC开发者快速入门
服务器·c++·后端·grpc
冉佳驹2 小时前
Linux ——— 静态库和动态库的设计与使用
linux·动态库·静态库·fpic
陌上花开缓缓归以2 小时前
linux mtd-utils使用源码分析(ubuntu测试版)
linux·arm开发·ubuntu
江湖有缘2 小时前
零基础入门:使用 Docker 快速部署 Organizr 个人主页
java·服务器·docker