[vtkusers] installation problems

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue Nov 5 13:16:03 EST 2002


>>>>> "TL" == Torbjørn Lindahl <lindahl at stud.ntnu.no> writes:

    TL> Hi list, I have been using vtk with python on linux for some
    TL> time now, but the application I am working on should ideally
    TL> be platform independent.

    TL> So I am now trying to install a complete Python2.2 with vtk40
    TL> and qt3.0.5 system on a Win XP machine. And it just won't
    TL> work!

    TL> I have done the following: 1) installed python2.2 2) installed
    TL> Qt and PyQt

    TL> --it works so far--

[snip]

    TL> If someone has installed vtk + python before, could you please
    TL> write a stepwise installation guide?

I think I posted instructions for Les' DLL's sometime back.  Look at
the archives.  Anyway, if you are building VTK from source I'd
recommend using a recent nightly.  AFAIK they are stable and
VTK-Python should be fairly easy with the setup.py script.

In any case you can use Les Schaffer's DLLs.  Grab the VTK4/Python 2.2
DLLs from his page and try the following.

To use them follow these instructions:

  1. Install Python 2.2.1 or better.

  2. Unzip the vtkdlls.zip file somewhere.  Put the resulting vtk4
  directory in the PATH.  For instance if you extract the file in C:\
  then put C:\VTK4 in your PATH.  This is important.

  3. Depending on where you installed Python2.2 (from step 1) you need
  to extract the pyvtk.zip file in a special place.  If you have
  installed Python into C:\Python22\ then extract the files (along
  with the path) from pyvtk.zip into C:\Python22\.  This should
  actually extract files into c:\Python22\Lib\site-packages\.

Once you have done this, VTK should be installed fine on your system.

Les, any chance you'll be able to post new builds?  

Hmm, recently Jose Paulo mailed us URLS of his builds under Windows.
Again look at the archives of this and last month.

cheers,
prabhu



More information about the vtkusers mailing list