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

相关推荐
好评12432 分钟前
Linux入门:软件包管理、Vim、GCC、Makefile、Git 与 GDB
linux·运维·服务器
可爱又迷人的反派角色“yang”2 小时前
ansible剧本编写(三)
linux·网络·云计算·ansible
m0_738120722 小时前
应急响应——知攻善防Web-3靶机详细教程
服务器·前端·网络·安全·web安全·php
石像鬼₧魂石7 小时前
内网渗透靶场实操清单(基于 Vulhub+Metasploitable 2)
linux·windows·学习·ubuntu
Danileaf_Guo7 小时前
256台H100服务器算力中心的带外管理网络建设方案
运维·服务器
橘子真甜~8 小时前
C/C++ Linux网络编程15 - 网络层IP协议
linux·网络·c++·网络协议·tcp/ip·计算机网络·网络层
拾贰_C9 小时前
【Linux | Windows | Terminal Command】 Linux---grep | Windows--- findstr
linux·运维·服务器
阿华hhh10 小时前
Linux系统编程(标准io)
linux·开发语言·c++
虹科网络安全10 小时前
艾体宝洞察 | 利用“隐形字符”的钓鱼邮件:传统防御为何失效,AI安全意识培训如何补上最后一道防线
运维·网络·安全
石像鬼₧魂石10 小时前
Kali Linux 网络端口深度扫描
linux·运维·网络