I wish to batch process using
pvpython but in my system (
MacOS, 13' MBP, ParaView 5.9.1) no rendering window pops up when I try to reproduce the sphere example. I believe this might be due to the issue already mentioned here: macOS: pvbatch/pvpython raise PYTHONHOME errors. If that is the case, is there any workaround for the moment (until the bug is fixed)?
I doubt it has anything to do with the PYTHONHOME errors. If you’re see no other errors and you’re using
pvpython (and not
pvbatch) most likely the window has popped up behind your active windows. Try using
Expose to locate the window.
thanks for your response. I’m afraid I don’t understand what you meant by
Expose. I use the App Exposé offered by MacOS Show or move all open windows, and I’m sure there are no windows popping up. I am providing what I did:
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Python 3.8.8 (default, May 17 2021, 13:00:49)
[Clang 11.0.3 (clang-1184.108.40.206)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from paraview.simple import *
<paraview.servermanager.Sphere object at 0x10e523730>
<paraview.servermanager.GeometryRepresentation object at 0x1180b4cd0>
<paraview.servermanager.RenderView object at 0x1180b4dc0>
Looks like MacOS is not returning any window, but why?!!
With regards to “Expose”, I’m pretty sure Utkarsh means What is Expose? - Switch To A Mac Guides. On my Mac, using a generic keyboard, the magic commands are CTRL-UpArrow. On my MacBook, use four fingers, and slide up.
Okay, I am sure it’s not an hidden window issue. No windows is popping up at all. Anyone isn’t using
pvpython in a Mac, having such issue?