Python导入vtk时DLL导入错误

mic*_*del 5 python windows dll pyqt vtk

我需要在 Windows 10 计算机上的 python 中使用VTK库(版本 5.10,因为我正在处理现有代码),但我无法成功导入它DLLImport

Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\vtk\__init__.py", line 139, in <module>
    __helper.refine_import_err('qvtk', 'vtkQtPython', exc)
  File "C:\Python27\lib\site-packages\vtk\__helper.py", line 32, in refine_import_err
    raise LinkError, str(exc)
vtk.__helper.LinkError: DLL load failed: The specified module could not be found.
Run Code Online (Sandbox Code Playgroud)

我已经安装了32位版本的PyQt4 4.11.4和VTK 5.10.1(我的Python 2.7.12安装也是32位),在这里下载:http ://www.lfd.uci.edu/~gohlke/pythonlibs/

我认为这个问题与vtkQtPython pyd 和 dll有关(这些文件vtkQtPython.pyd尝试加载vtkQtPythonD.dll

>>> import qvtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "qvtk.py", line 5, in <module>
    from vtkQtPython import *
ImportError: DLL load failed: The specified module could not be found.
>>> import vtkQtPython
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified module could not be found.
Run Code Online (Sandbox Code Playgroud)

使用最新版本(7.0.0)导入vtk确实有效,但与我正在处理的代码不兼容。我已经尝试卸载并再次设置整个安装(所有库和 Python 本身)。

我希望你能找到一些想法,经过几个小时的努力我仍然找不到任何解决方案。