Blender python scipy 1.6.3 WinError 126

问题描述

我有

Windows 10

Microsoft Visual C++ 2015-2019 Redistributable x86 14.23.27830

Blender 2.83 LTS 使用 python 3.7.4

我使用 pip 安装了 scipy 1.6.3,脚本/插件/模块路径没有问题。

导入它会导致 WinError 126:

  File "C:\Users\Christian\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\modules\scipy\__init__.py",line 130,in <module>
      from . import _distributor_init
    File "C:\Users\Christian\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\modules\scipy\_distributor_init.py",line 61,in <module>
      WinDLL(os.path.abspath(filename))
    File "C:\Program Files\WindowsApps\BlenderFoundation.Blender2.83LTS_2.83.15.0_x64__ppwjx1n5r4v9t\Blender\2.83\python\lib\ctypes\__init__.py",line 364,in __init__
      self._handle = _dlopen(self._name,mode)
  OSError: [WinError 126] The specified module cannot be found

researching 给了我降级到 1.4 的答案,这使它工作但导入 interpolate 导致 DLL 加载失败错误... 我不知道该怎么办了,我的搅拌机附加组件需要 scipy,而这些差异使其对消费者不友好且无法使用。 如何解决这个问题?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)