[vtkusers] How to use built vtk with python

Eric E. Monson emonson at cs.duke.edu
Mon Mar 29 10:13:37 EDT 2010


Is there someone who uses VTK and Python on Windows who could summarize the necessary PATH and PYTHONPATH settings (and anything else required)? 

Right now the Unix settings are up on the Tutorials Wiki that David Doria sent the link to, but if you search around for the Windows version it's a little hard to piece it together from a lot of old postings (and I only have experience on Linux and Mac).

Thanks,
-Eric

On Mar 29, 2010, at 10:00 AM, Jothybasu K Selvaraj wrote:

> I didn't copied the QT dlls,but I have Qt installed separately. I installed vtk by building INSTALL.
> 
> Thanks,
> Jothy
> 
> On Mon, Mar 29, 2010 at 2:54 PM, Dave Partyka <dave.partyka at kitware.com> wrote:
> A runtime is not being found. I see QVtk in your screenshot, are the QT Dlls set in your system PATH or copied into your bin directory?
> 
> 
> On Mon, Mar 29, 2010 at 9:38 AM, Jothybasu K Selvaraj <jothybasu at gmail.com> wrote:
> When I try to import vtk I get a DLL load failed error.Please see the screenshot attached.
> 
> Thanks,
> 
> Jothy
> 
> 
> On Fri, Mar 26, 2010 at 6:31 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> You're not giving us much to go on. In what way is it not working? Was the vtkpython executable generated during your build? Can python just not find the libraries when you try to "import vtk" from the standard Python executable?
> 
> Sorry I don't know anything specific about python in Windows, but you need to let people know what's happening for them to help.
> 
> -Eric
> 
> 
> On Mar 26, 2010, at 12:47 PM, Jothybasu K Selvaraj wrote:
> 
>> Thanks but not of much use. I have sucessfully built vtk 5.5 with python wrapping "ON" using visual studio and it has installed in newly created vtk directory with bin,lib,include,plugins. 
>> 
>> Bu how to make this work with python, even after googling for hours not able to find the solution.I need vtk 5.5 because it only has PoinInPolygon method in vtkPolygon. Is there any workaround!
>> 
>> 
>> Thanks
>> 
>> Jothy
>> 
>> On Fri, Mar 26, 2010 at 12:11 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
>> On Fri, Mar 26, 2010 at 7:36 AM, Jothybasu K Selvaraj <jothybasu at gmail.com> wrote:
>> Hi all,
>> 
>> I have downloaded the latest vtk source from cvs and built it with VS 2008 with python wrappin on in cmake.After this how to use this vtkPython in python.
>> 
>> Thanks,
>> 
>> Jothy
>> 
>> 
>> Check out: 
>> http://vtk.org/Wiki/VTK/Tutorials/PythonEnvironmentSetup
>> 
>> and
>> 
>> http://vtk.org/Wiki/VTK/Examples#Example_Usage_.28Python.29
>> 
>> Thanks,
>> 
>> David
>> 
>> _______________________________________________
>> Powered by www.kitware.com
>> 
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>> 
>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100329/a55de9a2/attachment.htm>


More information about the vtkusers mailing list