Remote Rendering with Paraview Example #531
-
From the Trame tutorial, how do I combine the venv Paraview example where I execute my script from pvpython using the following command:
with the remote rendering example so I can run two or more independent client processes with trame tools like in this command: I've tried combing the syntax from these two commands but to no avail. (E.g.,
) but naturally 'pvpython isn't your regular python' as has been mentioned. So, accessing trame.tools.server from pvpython is likely not as simple as combining these two commands on the command line. I just want to be able to serve my app that is rendered by Paraview in two different browsers, performing different actions in each connected client session (rather than the default option in which the two client windows will mirror each other bc they use the same instance). Eventually I would like to render this app on a server from a remote Paraview instance but for now I am just running it from localhost. I can get each of these two tutorial examples to work on their own I'm just running into the expected dependency issues when I try to combine the two commands in my CLI. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
You might be able to do the following, otherwise you will need to extend PYTHONPATH/PATH
|
Beta Was this translation helpful? Give feedback.
You might be able to do the following, otherwise you will need to extend PYTHONPATH/PATH
pvpython.exe -m paraview.apps.trame --trame-app trame.tools.server --venv /c/Path/To/My/Local/miniconda3/envs/trame/ --exec MyApp:MyClass