[vtk-developers] VTK/Python on SGI (again)

Andy Cedilnik andy.cedilnik at kitware.com
Tue Sep 3 09:14:02 EDT 2002


Hello All,

Looks like there is a problem with Python or Python wrapping on Sgi.
When Python built with Sgi's C compiler and VTK built with Sgi's C++
compiler, the interpreter does not seems to be initialized properly.

Here are two situations:
VTK nightly, Python 2.1.3, compiles fine (tested by me):
% vtkpython
Python 2.1.3 (#2, Aug 14 2002, 10:39:23) [C] on irix646
Type "copyright", "credits" or "license" for more information.
>>> import vtk
Fatal Python error: Interpreter not initialized (version mismatch?)
vtkpython[13]: 24181 Abort(coredump)

VTK nightly, Python 1.5.2, compiles fine (tested by David):

Python 1.5.2 (#2, Jul 16 1999, 00:24:05)  [GCC egcs-2.91.66 19990314
(egcs-1.1.2  on irix646
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import vtk
Fatal Python error: PyThreadState_Get: no current thread
Abort (core dumped)

Unfortunately we do not have an Sgi in house, so could somebody verify
this please. It has to be build with Sgi's C and C++ compiler and Python
has to be built from sources not installed on the system.

Thank you.

				Andy




More information about the vtk-developers mailing list