conda deactivate # make sure I don't have a blend of conda and local venv
unset PV_VENV # make sure I don't have a global venv set for ParaView
git clone https://github.com/Kitware/trame.git
python3.9 -m venv .venv
source .venv/bin/activate
pip install trame
/Applications/ParaView-5.10.1.app/Contents/bin/pvpython ./trame/examples/07_paraview/SimpleCone/RemoteRendering.py --port 1234 --venv .venv
representation = simple.Show(cone)
Traceback (most recent call last):
File “”, line 1, in
File “/data/ease/trame/paraview-5.12/lib/python3.10/site-packages/paraview/simple.py”, line 725, in Show
rep = controller.Show(proxy, proxy.Port, view, representationType)
File “/data/ease/trame/paraview-5.12/lib/python3.10/site-packages/paraview/servermanager.py”, line 161, in getattr
return getattr(self.SMController, name)
AttributeError: ‘paraview.modules.vtkRemotingServerManager.vtkSMPar’ object has no attribute ‘Show’