Slaughter, Andrew E
andrew.slaughter at inl.gov
Thu Feb 4 18:33:23 EST 2016
It appears that miniconda disables testing of some sort, I guess I will
have to build my own (-DBUILD_TESTING=OFF).
On Thu, Feb 4, 2016 at 4:23 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> Hi Andrew,
> It works fine in a copy of VTK 6.3 that I built myself.
> It might be a problem with the python path on your machine. Have you
> checked that python is importing the 'vtk' module from the correct location?
> import vtk
> print vtk.__file__
> You can also use spotlight or "find" to locate the testing module on your
> find ~ -name vtkTestingRenderingPython.so
> - David
> On Thu, Feb 4, 2016 at 4:11 PM, Slaughter, Andrew E <
> andrew.slaughter at inl.gov> wrote:
>> Is there a trick to using vtkTesting class in python? Is it possible? I
>> am using VTK6.3 from miniconda on OSX, but it is failing to find the
>> vtkTesting class.
>> #!/usr/bin/env python
>> import vtk
>> from vtk.test import Testing
>> tester = vtk.vtkTesting() # this fails
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers