[Paraview] using python or pvpython with Paraview

Sebastien Jourdain sebastien.jourdain at kitware.com
Wed Sep 2 09:22:29 EDT 2015


1) /Applications/paraview2.app/Content/bin/pvpython ${your_script}
2) /{path_to_paraview}/bin/pvpython ${your_script}

On Tue, Sep 1, 2015 at 4:01 PM, Ishan Tembhekar <ishan.tembhekar at caltech.edu
> wrote:

> Hello everyone,
>
> I have been using Paraview for a while with python scripts but every time
> I used a script, I used to open paraview, then do tools, python shell and
> then run the script.
>
> I want to be able to run the script without opening paraview. I looked at
> various forums that told me to update my PYTHONPATH or LD_LIBRARY_PATH with
> the directory where I built paraview. But I was not able to get anything
> working. I mostly could not find any location where the vtkPythonWrap
> directory is located (thats the one the forums kept telling me to look for)
>
> I use MacOS and I just downloaded it and dragged it to the applications
> folder. So, I had a couple of questions (both for Paraview version 4.3.1)
>
> 1. For MacOS, I have paraview installed in /Applications/paraview2.app/.
> How would I proceed to use my python script without opening paraview?
> 2. In the future, I would like to use it in Linux as well. Would the
> procedure be similar to the MacOS case or different?
>
> Any kind of help will be greatly appreciated.
>
> Thank you!
>
> -Ishan
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150902/3b9a8a00/attachment.html>


More information about the ParaView mailing list