undefined symbol: PyExc_ValueError

Had similar issue, VTK_PYTHON_OPTIONAL_LINK=OFF flag solved the problem. Thank you.