-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Unable to load DLL 'CpuMathNative': The specified module could not be found #5495
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
Comments
@BalsamIbrahim Thanks for using ML.NET, could you please provide a repro project so we can investigate further? |
@frank-dong-ms |
|
@BalsamIbrahim Thanks, could you please provide a complete repro project or solution, and your repro steps? Previous code piece is not enough for me to investigate the issue. Also, the missing DLL 'CpuMathNative' is coming from nuget package 'Microsoft.ML.CpuMath', you can find this dll under path 'runtimes\win-x64\nativeassets\netstandard2.0\CpuMathNative.dll', could you verify if the nuget package contains that dll? |
@BalsamIbrahim are you able to provide the whole/complete project? |
@frank-dong-ms YES I HAVE COMPLETE PROJECT |
class name Scheduale |
@BalsamIbrahim Thanks I can reproduce your issue and I will start to work on a fix. |
@BalsamIbrahim If possible you can use dotnet core for your class library project Plugin and your issue will go away if you use dotnet core. |
@BalsamIbrahim is it possible to change the Plugin project to use .net core? |
@BalsamIbrahim another work around is to add package reference of Microsoft.ML.CpuMath to the project consuming the plugin project and set x64 for both Debug and Release: |
it's work thanks |
Close this issue now, feel free to reopen if any necessary. |
salam all

I face this problem when I use Microsoft.ML to create clustering
I hope to help me
System.DllNotFoundException: 'Unable to load DLL 'CpuMathNative': The specified module could not be found. (Exception from HRESULT: 0x8007007E)'
thank you
The text was updated successfully, but these errors were encountered: