[vtkusers] compiling with python 2 and python 3 support

Marcus D. Hanwell marcus.hanwell at kitware.com
Thu Apr 21 13:06:07 EDT 2016


On Thu, Apr 21, 2016 at 12:40 PM, Nico Schlömer
<nico.schloemer at gmail.com> wrote:
> Hi everyone,
>
> I was going to try out VTK 7 with its support for Python 3. What configure
> flag do I have to pull to get this in? (`VTK_WRAP_PYTHON` only seems to do
> Python 2.) Also, is it possible to compile interfaces for both Python 2 and
> Python 3 at once?
>
You should set VTK_PYTHON_VERSION to 3, it defaults to 2. You cannot
compile with both, and will have to choose one or the other.


More information about the vtkusers mailing list