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

问题描述 投票:0回答:1
[DllNotFoundException: Unable to load DLL 'MklImports': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]

Microsoft.ML.Transforms.TimeSeries.EigenUtils.Dsytrd(布局matrixLayout,Uplo uplo,Int32 n,Double [] a,Int32 lda,Double [] d,Double [] e,Double [] tau)+0 Microsoft.ML.Transforms.TimeSeries.EigenUtils.MklSymmetricEigenDecomposition(单[]输入,Int32大小,单[]和特征值,单[]和特征向量)+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.SsaForecastingEstimator.Fit(IDataView 输入)+57 C:\Users\HP\source 中的 PredictionTestAplication.Controllers.HomeController.Index() epos\PredictionTestAplication\PredictionTestAplication\Controllers\HomeController.cs:81 lambda_method(闭包,ControllerBase,对象[])+61 System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase控制器,Object[]参数)+14 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContextcontrollerContext,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 asyncResult,ActionIn VocationinnerInvokeState)+22 System.Web.Mvc.Async.WrappedAsyncResult
2.CallEndDelegate(IAsyncResult asyncResult) +29 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +49 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)+32 System.Web.Mvc.Async.AsyncInitationWithFilters.b__11_0() +50 System.Web.Mvc.Async。<>c__DisplayClass11_1.b__2() +228 System.Web.Mvc.Async.<>c__DisplayClass7_0.b__1(IAsyncResult asyncResult) +10 System.Web.Mvc.Async.WrappedAsyncResult
1.CallEndDelegate(IAsyncResult asyncResult) +10 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +49 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)+34 System.Web.Mvc.Async.<>c__DisplayClass3_6.b__3() +35 System.Web.Mvc.Async.<>c__DisplayClass3_1.b__5(IAsyncResult asyncResult) +100 System.Web.Mvc.Async.WrappedAsyncResult
1.CallEndDelegate(IAsyncResult asyncResult) +10 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +49 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)+27 System.Web.Mvc.<>c.b__152_1(IAsyncResult asyncResult, ExecuteCoreState insideState) +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 asyncResult) +45 System.Web.Mvc.<>c.b__151_2(IAsyncResult asyncResult,控制器控制器)+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 asyncResult) +26 System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10 System.Web.Mvc.<>c.b__20_1(IAsyncResult asyncResult, ProcessRequestState insideState) +28 System.Web.Mvc.Async.WrappedAsyncVoid
1.CallEndDelegate(IAsyncResult asyncResult) +29 System.Web.Mvc.Async.WrappedAsyncResultBase
1.End() +49 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)+28 System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult 结果) +9 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9850389 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep 步骤) +50 System.Web.HttpApplication.ExecuteStep(IExecutionStep 步骤,布尔值&同步完成)+163

我在 ML.net 的 MVC5 asp.net 中遇到此问题,如果有人在此之前遇到此问题,请提供帮助,谢谢。

.net asp.net-mvc-5 ml.net microsoft.ml
1个回答
0
投票

我遇到了同样的问题,我疯了几天。

解决问题的方法如下:

  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
  2. 检查Java Open JDK 11.2是否安装,BIN路径是否在路径环境表中。最后我从这里安装了microsoft-jdk-11.0.21-windows-x64:https://learn.microsoft.com/en-us/java/openjdk/download
  3. 检查应用程序池是否以32位模式运行。如果是,只需在 IIS 管理器中禁用该选项即可。

祝你有美好的一天,米歇尔

© www.soinside.com 2019 - 2024. All rights reserved.