Hi Leo, the documentation has been updated to match paraview/master from maybe 2 weeks ago. If you have an older version of ParaView, you would have to look at an older version of the ParaViewWeb documentation of that example. Or update your ParaView to the current master.
Seb On Tue, Aug 29, 2017 at 1:48 PM, Léo Pessanha <leonardopessanh...@gmail.com> wrote: > Hi! > > I am trying to build the example: > >> https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html >> > > I can't get past the python script that serves ParaView as server > > The errors I have encountered are: > > 'No module named wslink found' that I managed to fix installing wslink > trough pip with 'pip install wslink' and copying the wslink folder to one > of the folders in the path of pvpython > > Then the following one showed up to me > > from paraview.web import wslink as pv_wslink >> ImportError: cannot import name wslink >> > > At first I tought it was a circular dependencie problem and tried > > import paraview.web.pv_wslink >> > > But got: > > File "/home/leo/remoteRenderer/pv_server.py", line 10, in <module> >> import paraview.web.pv_wslink >> File "/opt/pv52/lib/python2.7/site-packages/paraview/web/pv_wslink.py", >> line 6, in <module> >> from vtk.web import wslink as vtk_wslink >> ImportError: cannot import name wslink >> > > > I believe I am missing an important step needed to code with pvpython > without problems. > > Something like a 'build_essentials' package or 'paraview.web'/'vtk.web' > ones > > How can I manage the *sys.path* of pvpython in order for it to find those > modules(pv_wslink and vtk_wslink) that are missing? (Installing trough pip > adds the modules to python executable and not to the pvpython one) > > Can someone help me with this? > > Thanks in advance! > > Leonardo Pessanha > Laboratory of Computational Methods in Engineering > Federal University of Rio de Janeiro - COPPE > Rio de Janeiro, RJ, Brasil > > > _______________________________________________ > 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 > >
_______________________________________________ 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