undefined symbol: PyExc_ValueError

It looks that this problem is similar with this one (Building Paraview from source is missing pvbatch), but I’m still not sure the reason for this case since it seems that the python path looks good