[英]ImportError: DLL load failed: The specified module could not be found. Python 3.6 import dotnet
I am running python 3.6, I have already installed the correct version of dotnet from the official site .我正在运行 python 3.6,我已经从官方网站安装了正确版本的 dotnet。 When I launched python console and import dotnet, I got the following error:
当我启动 python 控制台并导入 dotnet 时,出现以下错误:
File "...\lib\site-packages\dotnet\moduleloader.py", line 24, in <module>
from dotnet import PyDotnet as _dotnet
ImportError: DLL load failed: The specified module could not be found.
Spotted one of the comment from this post , if you rename boost_python3-vc141-mt-1_64.dll to boost_python3-vc150-mt-1_64.dll it will solve the issue, reason is unknown.从这篇文章中发现一个评论,如果你将 boost_python3-vc141-mt-1_64.dll 重命名为 boost_python3-vc150-mt-1_64.dll 它将解决问题,原因未知。 The dll should site under Lib/site-packages/dotnet.
该 dll 应位于 Lib/site-packages/dotnet 下。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.