MontrealCorpusTools / Montreal-Forced-Aligner

Command line utility for forced alignment using Kaldi
https://montrealcorpustools.github.io/Montreal-Forced-Aligner/
MIT License
1.34k stars 247 forks source link

[BUG] 2.1 Issue with mfa.py, mfa-script.py, and montreal_forced_aligner.command_line.mfa #546

Closed NataliaShmueli closed 1 year ago

NataliaShmueli commented 1 year ago

Debugging checklist

[x ] Have you updated to the latest MFA version? [x ] Have you tried rerunning the command with the --clean flag?

Describe the issue A clear and concise description of what the bug is. MFA 2.1 won't work. I have even created a new environment, but it reports for both environments: File "C:\Users\Natalia\miniconda3\envs\aligner\Scripts\mfa-script.py", line 6, in <module> from montreal_forced_aligner.command_line.mfa import main ImportError: cannot import name 'main' from 'montreal_forced_aligner.command_line.mfa' (C:\Users\Natalia\miniconda3\envs\aligner\lib\site-packages\montreal_forced_aligner\command_line\mfa.py)

For Reproducing your issue Please fill out the following: Trying to run any mfa command line (mfa train_g2p, mfa train, mfa version, etc)

Log file Please attach the log file for the run that encountered an error (by default these will be stored in ~/Documents/MFA). image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.