.net 无法加载DLL“MklImports”:找不到指定的模块,(来自HRESULT的异常:0x8007007E)

lnvxswe2  于 2023-11-20  发布在  .NET
关注(0)|答案(1)|浏览(194)
[DllNotFoundException: Unable to load DLL 'MklImports': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]

字符串
Microsoft.ML.Transforms.TimeSeries.EigenUtils.Dsytrd(布局矩阵布局,Uplo uplo,Int32 n,Double[] a,Int32 lda,Double[] d,Double [] e,Double[] tau)+0 Microsoft.ML.Transforms.TimeSeries.EigenUtils.MklSymmetricEigenDecomposition(Single[] input,Int32 size,Single[]& eigenValues,Single[](& eigenVectors)+336 Microsoft.ML.Transforms.TimeSeries.TrajectoryMatrix.ComputeSvd(Single[]& singularValues,Single[]& leftSingularvectors)+131 Microsoft.ML.Transforms.TimeSeries.AdaptiveSingularSpectrumSequenceModelerInternal.TrainCore(Single[] dataArray,Int32 originalSeriesLength)+134 Microsoft.ML.Transforms.TimeSeries.AdaptiveSingularSpectrumSequenceModelerInternal.Train(RoleMappedData数据)+676 Microsoft.ML.Transforms.TimeSeries.SsaForecastingTransformer..ctor(IHostEnvironment env,选项选项,IDataView输入)+130 Microsoft.ML.Transforms.TimeSeries. SsaForecastingEstimate.Fit(IDataView输入)+57 PredictionTestAplication.Controllers.HomeController.Index()in C:\Users\HP\source\repos\PredictionTestAplication\PredictionTestAplication\Controllers\HomeController.cs:81 lambda_方法(Closure,ControllerBase,Object[])+61 System.Web.Mvc. SystemDispatcher.Execute(ControllerBase控制器,Object[]参数)+14 System.Web.Mvc. ReflectedObject Descriptor.Execute(ControllerContext转换器上下文,IDictionary 2 parameters) +157 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary 2参数)+27 System.Web.Mvc.Async.<>c.b__9_0(IAsyncResult,调用innerSystemState)+22 System.Web.Mvc.Async.WrappedAsyncResult 2.CallEndDelegate(IAsyncResult asyncResult) +29 System.Web.Mvc.Async.WrappedAsyncResultBase 1.End()+49 System.Web.Mvc.Async. AsyncControllerSystemState. EndSystemState方法(IAsyncResult异步结果)+32 System.Web.Mvc.Async. AsyncationWithFilters.b__11_0()+50 System.Web.Mvc. Async.<>c__DisplayClass11_1.b__2()+228 System.Web.Mvc. Async.<>c__DisplayClass7_0.b__1(IAsyncResult异步结果)+10 System.Web.Mvc.Async.WrappedAsyncResult 1.CallEndDelegate(IAsyncResult asyncResult) +10 System.Web.Mvc.Async.WrappedAsyncResultBase 1.End()+49 System.Web.Mvc.Async. AsyncController异步结果. End异步方法WithFilters(IAsyncResult)+34 System.Web.Mvc.Async.<>c__DisplayClass3_6.b__3()+35 System.Web.Mvc.Async.<>c__DisplayClass3_1.b__5(IAsyncResult异步结果)+100 System.Web.Mvc.Async.WrappedAsyncResult 1.CallEndDelegate(IAsyncResult asyncResult) +10 System.Web.Mvc.Async.WrappedAsyncResultBase 1.End()+49 System.Web.Mvc.Async. AsyncController异步结果. EndAsynkeAction(IAsyncResult搜索结果)+27 System.Web.Mvc.<>c.b__152_1(IAsyncResult,ExecuteCoreState innerState)+11 System.Web.Mvc.Async.WrappedAsyncVoid 1.CallEndDelegate(IAsyncResult asyncResult) +29 System.Web.Mvc.Async.WrappedAsyncResultBase 1.End()+49 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult搜索结果)+45 System.Web.Mvc.<>c.b__151_2(IAsyncResult,Controller controller)+13 System.Web.Mvc.Async.WrappedAsyncVoid 1.CallEndDelegate(IAsyncResult asyncResult) +22 System.Web.Mvc.Async.WrappedAsyncResultBase 1.End()+49 System.Web.Mvc.Controller.EndExecute(IAsyncResult)+26 System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult搜索结果)+10 System.Web.Mvc.<>c.b__20_1(IAsyncResult,ProcessRequestState innerState)+28 System.Web.Mvc.Async.WrappedAsyncVoid 1.CallEndDelegate(IAsyncResult asyncResult) +29 System.Web.Mvc.Async.WrappedAsyncResultBase 1.End()+49 System.Web.Mvc. Mvc.EndProcessRequest(IAsyncResult异步结果)+28 System.Web.Mvc. Mvcovery.System.Web. IHttpAsyncovery.EndProcessRequest(IAsyncResult结果)+9 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+9850389 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep步骤)+50 System.Web. Http Application.ExecuteStep(IExecutionStep步骤,Boolean& completedSynchronously)+163
我得到这个问题在MVC5 asp.net在ML.net请帮助,如果任何一个面对这个问题之前,谢谢.

ruyhziif

ruyhziif1#

我遇到了同样的问题,我疯了几天。
解决问题的方法如下:
1.检查是否安装了Visual Studio 2015、2017、2019和2022的VC vcredist_x64。您可以在这里找到它:https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
1.检查Java Open JDK 11.2是否安装,BIN路径是否在路径环境表中。最后我从这里安装了microsoft-jdk-11.0.21-windows-x64:https://learn.microsoft.com/en-us/java/openjdk/download
1.检查应用程序池是否在32位模式下运行。如果是,只需在IIS管理器中禁用该选项。
祝你今天愉快,米歇尔

相关问题