<div dir="ltr"><div><div><div><div><div><div>Hi! <br><br></div>I am trying to build the example:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html">https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html</a><br></blockquote><br></div>I can't get past the python script that serves ParaView as server<br><br></div>The errors I have encountered are: <br><br></div>'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<br><br></div>Then the following one showed up to me <br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">from paraview.web import wslink as pv_wslink<br>ImportError: cannot import name wslink<br></blockquote><br></div>At first I tought it was a circular dependencie problem and tried <br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">import paraview.web.pv_wslink <br></blockquote><div><br></div><div>But got:<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>File "/home/leo/remoteRenderer/pv_server.py", line 10, in <module><br> import paraview.web.pv_wslink <br> File "/opt/pv52/lib/python2.7/site-packages/paraview/web/pv_wslink.py", line 6, in <module><br> from vtk.web import wslink as vtk_wslink<br>ImportError: cannot import name wslink<br></div></blockquote><div><div><div><div><div><div><div><div><div><div><br></div><div><br></div><div>I believe I am missing an important step needed to code with pvpython without problems.</div><div><br></div><div>Something like a 'build_essentials' package or 'paraview.web'/'vtk.web' ones <br></div><div><br></div><div>How can I manage the <i>sys.path</i> 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)<br></div><div><br></div><div>Can someone help me with this?<br><br></div><div>Thanks in advance!<br></div><div><br clear="all"><div><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div><div><div><div><div><span><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Leonardo Pessanha<br>Laboratory of Computational Methods in Engineering </div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Federal University of Rio de Janeiro - COPPE</div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Rio de Janeiro, RJ, Brasil</div><div><br></div></span></div></div></div></div></div></div><div><div style="font-size:12.8px"></div><div style="font-size:12.8px"></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>