[vtkusers] newbie problems with vtk4.0/python on irix
P Sherwood
P.Sherwood at dl.ac.uk
Sun Jan 6 18:01:47 EST 2002
Dear Prabhu,
>> PS> % python Python 2.2 (#2, Jan 5 2002, 16:27:46) [C] on irix6
>> PS> Type "help", "copyright", "credits" or "license" for more
>> PS> information.
>> >>>> from vtkpython import *
>> PS> Fatal Python error: Interpreter not initialized (version
>> PS> mismatch?) Abort (core dumped)
>>
>> Thats strange. What options did you set in the CMakeCache.txt. Here
>> is a part of my setup:
>>
>> ----------
>> //Where can one of the python, python21_d or python20_d libraries
>> // be found
>> PYTHON_DEBUG_LIBRARY:FILEPATH=
>>
>> //What is the path where the file Python.h can be found
>> PYTHON_INCLUDE_PATH:PATH=/usr/local/include/python2.1
>>
>> //Where can one of the python, python21, python2.1, python20 or
>> // python2.0 libraries be found
>> PYTHON_LIBRARY:FILEPATH=
>> ----------
>>
>> Note that I don't explicitly set a PYTHON_LIBRARY. I've run into
>> problems earlier when I did link to libpython*.a
Thanks for this tip, it did the trick. I guess it must have been
trying to (re)load the python .so in some incorrect manner during
the vtk import.
thanks again!!
Paul
More information about the vtkusers
mailing list