# using vtk 8.2.0 with python wrappings with anaconda

**URL:** https://discourse.vtk.org/t/using-vtk-8-2-0-with-python-wrappings-with-anaconda/1060
**Category:** Support
**Created:** [May 31, 2019, 1:03pm UTC](https://discourse.vtk.org/t/using-vtk-8-2-0-with-python-wrappings-with-anaconda/1060 "2019-05-31T13:03:04Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.vtk.org/user_avatar/discourse.vtk.org/danlipsa/32/390_2.png) [@danlipsa](https://discourse.vtk.org/u/danlipsa)
#### Post date: [May 31, 2019, 2:51pm UTC](https://discourse.vtk.org/t/using-vtk-8-2-0-with-python-wrappings-with-anaconda/1060/4 "2019-05-31T14:51:58Z")

</div>

Abhishek,  
You may need to build VTK master to fix this problem and you’ll have to patch VTK master like this:

```auto

diff --git a/Utilities/Python/CMakeLists.txt b/Utilities/Python/CMakeLists.txt
index 632069bc0d..44e4371b1a 100644
--- a/Utilities/Python/CMakeLists.txt
+++ b/Utilities/Python/CMakeLists.txt
@@ -147,7 +147,7 @@ cmake_dependent_option(VTK_PYTHON_OPTIONAL_LINK
   # `target_link_options`.
   # XXX(Linux): Currently, this causes missing symbols on Linux in ParaView.
   # More investigation is necessary.
- "FALSE;BUILD_SHARED_LIBS;COMMAND target_link_options" OFF)
+ "BUILD_SHARED_LIBS;COMMAND target_link_options" OFF)
 
 add_library(PythonUsed INTERFACE)
 add_library(VTK::PythonUsed ALIAS PythonUsed)

```

See the following thread for context:

[https://discourse.vtk.org/t/segfault-for-python-importing-vtk-but-not-for-vtkpython/126](https://discourse.vtk.org/t/segfault-for-python-importing-vtk-but-not-for-vtkpython/126)

---

_[View the full topic](https://discourse.vtk.org/t/using-vtk-8-2-0-with-python-wrappings-with-anaconda/1060)._
