Hi Pradeep,<div><br></div><div>did you tried to do that ?</div><div><br></div><div>$ cd /Applications/paraview.app/Contents/bin</div><div>$ ./pvpython</div><div>>>> from paraview.simple import *<br></div><div>>>> Cone()</div>
<div>>>> Show()</div><div>>>> Render()</div><div><br></div><div>Do you manage to see the cone in a 3D window ?</div><div><br></div><div>Seb</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Dec 13, 2012 at 3:47 AM, Pradeep Jha <span dir="ltr"><<a href="mailto:pradeep.kumar.jha@gmail.com" target="_blank">pradeep.kumar.jha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I just installed Paraview 3.98 on my Mac OS x 10.8. The paraview.app has<br>
been installed in "/Applications" folder and the "__init.py__" files are in<br>
the "/Applications/paraview.app/Contents/Python/paraview" folder. When<br>
I do "ls" in this folder, I get:<br>
<br>
==============================<br>
#v# pvfilters.py<br>
__init__.py pvfilters.pyc<br>
__init__.pyc pvvtkextensions.py<br>
annotation.py pvvtkextensions.pyc<br>
annotation.pyc servermanager.py<br>
benchmark.py servermanager.pyc<br>
benchmark.pyc simple.py<br>
collaboration.py simple.pyc<br>
collaboration.pyc smstate.py<br>
compile_all_pv.py smstate.pyc<br>
compile_all_pv.pyc smtrace.py<br>
demos/ smtrace.pyc<br>
extract_selection.py util.py<br>
extract_selection.pyc util.pyc<br>
numeric.py variant.py<br>
numeric.pyc variant.pyc<br>
numpy_support.py vtk/<br>
numpy_support.pyc vtkConstants.py<br>
pv_compile_complete vtkConstants.pyc<br>
============================<br>
<br>
I also added the address to this folder to my pythonpath. I don't know<br>
what else to do to get "pvpthon" working. Right now when I try to import<br>
"simple" or "servermanager" in the python environment, I get the<br>
following error: "ImportError: No module named paraview".<br>
<br>
Any ideas what can I do?<br>
Thanks<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>