[vtkusers] vtk.patented python 2.4

Yoan BLANC greut.lists at dosimple.ch
Fri Oct 28 03:28:34 EDT 2005


rharder at uiuc.edu wrote:

>I finally fixed the problem by ignoring it.  went back to
>python 2.3.
>The error is exactly as written in the archive post that I found.
>http://public.kitware.com/pipermail/vtkusers/2005-July/080866.html
>
>tried rebuilding vtk4.4 after install python2.4 in gentoo.
>didn't work.  finally gave up.  everything is still fine
>with python 2.3.
>  
>
$ python
Python 2.4.2 (#1, Sep 29 2005, 12:53:10)
[GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> from libvtkPatentedPython import *
 >>>

everything is allright on my computer right now Patented too.

Is your cmake's FindPython configured for Python 2.4 ? :

$ cat /usr/share/cmake/Modules/FindPythonLibs.cmake | grep "2.4"     
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]/libs/Debug
    
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]/libs
  NAMES python24 python2.4 python2.4.dll
  /usr/lib/python2.4/config
  [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]/libs
    FOREACH(version 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
  /usr/include/python2.4
  
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]/include

>>>I found this entry in the archive.
>>>http://public.kitware.com/pipermail/vtkusers/2005-July/080866.html
>>>
>>>I am having the same problem now that I have 
>>>upgraded to python 2.4.  vtk will no longer
>>>import into python.  
>>>I've rebuilt vtk4.4 to no avail.
>>> 
>>>
>>>      
>>>
>>What's wrong ? Please write the error message when your write :
>>
>>python -c "import vtk;"
>>
>>Have a nice day.
>>
>>Yoan
>>    
>>




More information about the vtkusers mailing list