[vtkusers] Python 2.1 thingy

David Gobbi dgobbi at irus.rri.ca
Wed Aug 15 19:12:54 EDT 2001


VTK will work with any version of python, but you will have to
re-compile VTK.  This is straightforward on a UNIX system,
but on Windows you must do a little bit of tweaking.

On Windows, VTK has a batch of tcl/tk internal headers in the
pcmaker/xlib directory.  After you replace these with ones from
the tcl/tk 8.3 source, you will be able to build VTK with
Python 2.1.  You might also be able to simply point pcmaker.exe
at the tcl/tk 8.3 source code, but I haven't tried.

The VTK pre-4.0 Windows installer will provide a Python 2.1
interface, until then re-compilation is probably your only
option.

 - David

--
  David Gobbi, MSc                       dgobbi at irus.rri.ca
  Advanced Imaging Research Group
  Robarts Research Institute, University of Western Ontario

On Thu, 16 Aug 2001, Matthew Sherborne wrote:

> Hi all
>
> Is there a VTK  to Python2.1 interface?
>
> I only found 1.5 :(
>
> Thanks:)
>





More information about the vtkusers mailing list