[vmtk-users] problem with python wrappings: vtkvmtkSegmentationPython, vtkvmtkITKPython import
Brought to you by:
davidsteinman,
lucantiga
From: Greg F. <gre...@gm...> - 2013-04-25 01:37:16
|
hi all, I have compiles vmtk master from git , my paths and python paths are set properly ( I can load all vtk, itk, vmtk except the last two lines below: ... if os.name == 'posix': from libvtkvmtkCommonPython import * from libvtkvmtkComputationalGeometryPython import * from libvtkvmtkDifferentialGeometryPython import * from libvtkvmtkIOPython import * from libvtkvmtkMiscPython import * from libvtkvmtkRenderingPython import * from libvtkvmtkSegmentationPython import * from libvtkvmtkITKPython import * else: from vtkvmtkCommonPython import * from vtkvmtkComputationalGeometryPython import * from vtkvmtkDifferentialGeometryPython import * from vtkvmtkIOPython import * from vtkvmtkMiscPython import * from vtkvmtkRenderingPython import * ==> from vtkvmtkSegmentationPython import * ==> from vtkvmtkITKPython import * When loading vtkvmtkSegmentationPython, I get error from vmtk import vmtkscripts File "C:\Development\install\VMTK\lib\vmtk\vmtk\vmtkscripts.py", line 118, in <module> exec('from '+item+' import *') File "<string>", line 1, in <module> File "C:\Development\install\VMTK\lib\vmtk\vmtk\vmtkactivetubes.py", line 21, in <module> import vtkvmtk File "C:\Development\install\VMTK\lib\vmtk\vmtk\vtkvmtk.py", line 23, in <module> from vtkvmtkSegmentationPython import * ImportError: DLL load failed: The specified procedure could not be found. Does anyone know how to fix this ? Thank you. GT |