Python support not available

Dear ParaView community,

I would like to use Python shell inside paraview. I turned on PARAVIEW_USE_PYTHON. Now I can use programmable source/filter inside paraview. I can use pvpython shell outside paraview. But when I pop out python shell inside paraview, it says ‘Python support not available’. How to fix it?

Where did you get your ParaView binary from?

I built it from source.

I figured it out. I changed something in the source. Now it is all good. Thanks.

1 Like

Can you please post the solution so that it is beneficial for the others?

I messed something up in the source code when built ParaView. This was an issue when I built with other Python. If you built from ParaView master branch you shouldn’t have this kind of issue.

@Cam Any idea of what was missing? I face the same issue.

iirc, build ParaView in the master branch should fix it. Make sure you are using the correct version of Python. My issue was that I was using a different Python version.

Thanks for your reply, I finally achieved by targetting a local python path with DPython3_ROOT_DIR, DPython3_EXECUTABLE, DPython3_INCLUDE_DIR and DPython3_LIBRARY variables in cmake