-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] DLL load failed while importing _kalpy #731
Comments
How did you resolve this issue? |
I'm running into the same issue. May I know how you fixed it? |
Same issue. Please help! |
Same here! Not sure if closed issues always generate notifications, so I'm going to tag @shozuru as well. Do you recall what you did to resolve this issue? |
Hi all, I'm having trouble replicating this, but if you can provide the following information, that would help in me tracking down the root cause:
Can you try out some potential fixes and see if any of them fix the issue:
|
If I remember correctly, I uninstalled and then installed a more stable version (some version < 2.9), and that seemed to fix it. |
Hi Michael, @mmcauliffe, I am using Windows 10 and the versions of montreal-forced-aligner, kalpy, kaldi were 3.0.2, 0.6.3, 5.5.1112 respectively. Thanks for sharing the fixes, and the 3rd option fixed the issue of importing _kalpy and allowed me to go to the mfa validate xx step, which was successful. However, when I ran mfa align xx, I got another error called [WinError 183]. Please see the screenshot attached. Do you have any suggestions for fixing this? Thanks a lot. PS: I'm working on Assamese using the english_mfa acoustic model. |
I am having the same problem. I found the problem in both my Windows and Linux computers. Would you please walk me through the solution? Downgrading the aligner to a lower version might help but it lacks enough acoustic and dictionary dataset. |
Here's the requested info from one computer that had this issue. Using OS: Windows 11 Home Edition 22H2 |
Hey everyone, OS : Windows 11 Thank you in advanced ! |
Can you try running |
Debugging checklist
[ Yes ] Have you updated to latest MFA version?
[ Yes ] Have you tried rerunning the command with the
--clean
flag?Describe the issue
When I type
mfa version
into the Anaconda Prompt (Miniconda3), I get the following issue:Traceback (most recent call last):
File "C:\ProgramData\miniconda3\envs\aligner\Scripts\mfa-script.py", line 5, in
from montreal_forced_aligner.command_line.mfa import mfa_cli
File "C:\ProgramData\miniconda3\envs\aligner\lib\site-packages\montreal_forced_aligner_init_.py", line 4, in
import montreal_forced_aligner.acoustic_modeling as acoustic_modeling
File "C:\ProgramData\miniconda3\envs\aligner\lib\site-packages\montreal_forced_aligner\acoustic_modeling_init_.py", line 7, in
from montreal_forced_aligner.acoustic_modeling.base import AcousticModelTrainingMixin # noqa
File "C:\ProgramData\miniconda3\envs\aligner\lib\site-packages\montreal_forced_aligner\acoustic_modeling\base.py", line 12, in
from _kalpy.gmm import AccumAmDiagGmm
ImportError: DLL load failed while importing _kalpy: The specified module could not be found.
For Reproducing your issue
Open Anaconda Prompt (Miniconda3)
conda activate aligner
mfa version
Log file
Please attach the log file for the run that encountered an error (by default these will be stored in
~/Documents/MFA
).Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: