[vtk-developers] Identify the Python version of VTK

David Cole DLRdave at aol.com
Thu Nov 29 09:28:24 EST 2018


Can you run vtkpython and try something that only works in python 2
(or 3) and infer it...?
On Thu, Nov 29, 2018 at 4:06 AM Ronald Römer <rroemer at gmail.com> wrote:
>
> What else could I do to get the version?
>
>
> On 28.11.18 19:32, David Gobbi wrote:
>
> Would be a useful thing, though.  I'll see about submitting an MR.
>
> On Wed, Nov 28, 2018 at 11:28 AM Ronald Römer <rroemer at gmail.com> wrote:
>>
>> :(
>>
>> On 28.11.18 19:18, David Gobbi wrote:
>>
>> Hi Ronald,
>>
>> The exported configuration options are in VTKConfig.cmake.  I searched this file, and the only Python-related setting was VTK_WRAP_PYTHON.  VTK doesn't export VTK_PYTHON_VERSION for use by other projects.
>>
>>   David
>>
>>
>> On Wed, Nov 28, 2018 at 10:55 AM Ronald Römer <rroemer at gmail.com> wrote:
>>>
>>> According to https://blog.kitware.com/vtk-7-0-0/ VTK_PYTHON_VERSION should be set. I installed VTK 8.1.2 with pacman on Arch Linux. These are the variables starting with VTK_: https://gist.github.com/zippy84/1d4560c721018ebd31ddc87fbfae8083 But where is VTK_PYTHON_VERSION? Do you have an idea?
>>
>>
>> --
>> Viele Grüße
>> Ronald Römer
>
> --
> Viele Grüße
> Ronald Römer
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtk-developers
>


More information about the vtk-developers mailing list