更改Windows dll以修复Anaconda动态链接问题

2024-05-15 02:21:15 发布

您现在位置:Python中文网/ 问答频道 /正文

在Windows 10(python build 3.7.4、conda 4.7.11)上重新安装Anaconda之后,在尝试导入numpy时,我开始出现以下错误:

The ordinal 242 could not be located in the dynamic link library Anaconda3\Library\bin\mkl_intel_thread.dll

如果我按照建议的here查找libiomp5md.dll的优先级列表,我会得到以下结果:

where libiomp5md.dll
C:\Program Files\Point Grey Research\Spinnaker\bin64\vs2015\libiomp5md.dll
C:\Program Files\Point Grey Research\Spinnaker\bin\vs2015\libiomp5md.dll
C:\Program Files\Point Grey Research\FlyCapture2\bin64\libiomp5md.dll
C:\Program Files\Point Grey Research\FlyCapture2\bin64\vs2013\libiomp5md.dll
C:\Program Files\Point Grey Research\FlyCapture2\bin64\vs2015\libiomp5md.dll
C:\Users\...\anaconda3\Library\bin\libiomp5md.dll

所以我猜系统正在寻找优先级错误的文件。 我试过使用

set CONDA_DLL_SEARCH_MODIFICATION_ENABLE=1

没有效果

如果我只是重命名点灰色的研究文件夹,我解决了问题(但我与其他软件混乱)。我想知道是否有不同的解决办法


Tags: binwindows错误libraryfilesprogramgreypoint

热门问题