微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Blender python scipy 1.6.3 WinError 126

如何解决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 举报,一经查实,本站将立刻删除。