我有Windows 8 64位和Python 2.11 64位。我使用pip命令安装VTK库。它在运行时显示以下错误:
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
import vtk
File "C:\Python27\lib\site-packages\vtk\__init__.py", line 72, in <module>
__helper.refine_import_err('rendering', 'vtkRenderingPython', exc)
File "C:\Python27\lib\site-packages\vtk\__helper.py", line 32, in refine_import_err
raise LinkError, str(exc)
LinkError: DLL load failed: The specified module could not be found.` Traceback
我的路径是:
C:\Python27\Lib;
C:\Python27\Lib\site-packages;
C:\Python27\Lib\site-packages\vtk;
C:\Python27\Scripts;
感谢您的帮助。
答案 0 :(得分:0)
我可以通过卸载.vtk 5并安装vtk 6.2来解决问题。来自http://www.lfd.uci.edu/~gohlke/pythonlibs/的0。我还安装了PyQt4
答案 1 :(得分:0)