How can I run ParaView Python scripts on macOS?


I am trying to run a ParaView Python script from my macOS terminal using this command

/Applications/ /Users/joycelai/Documents/PythonScripts/

and I get this error:

Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]

My PYTHONPATH and PYTHONHOME variables are currently not set, and I do not know if I need to set them or what to set them as.

If anyone knows I would greatly appreciate it!

I think you can safely ignore those warnings.