CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   ParaView (http://www.cfd-online.com/Forums/paraview/)
-   -   Installing pvpython (http://www.cfd-online.com/Forums/paraview/110517-installing-pvpython.html)

jhapk December 13, 2012 02:49

Installing pvpython
 
Hello,

I just installed Paraview 3.98 on my Mac OS x 10.8. The paraview.app has been installed in "/Applications" folder and the "__init.py__" files are in the "/Applications/paraview.app/Contents/Python/paraview" folder. When I do "ls" in this folder, I get:
Code:

#v#                        collaboration.pyc        numpy_support.py        servermanager.pyc        util.pyc
__init__.py                compile_all_pv.py        numpy_support.pyc        simple.py                variant.py
__init__.pyc                compile_all_pv.pyc        pv_compile_complete        simple.pyc                variant.pyc
annotation.py                demos/                        pvfilters.py                smstate.py                vtk/
annotation.pyc                extract_selection.py        pvfilters.pyc                smstate.pyc                vtkConstants.py
benchmark.py                extract_selection.pyc        pvvtkextensions.py        smtrace.py                vtkConstants.pyc
benchmark.pyc                numeric.py                pvvtkextensions.pyc        smtrace.pyc
collaboration.py        numeric.pyc                servermanager.py        util.py

I also added the address to this folder to my pythonpath. I don't know what else to do to get "pvpthon" working. Even right now when I try to import "simple" or "servermanager" in the python environment, I get the following error: "ImportError: No module named paraview".

Any ideas what can I do?
Thanks


All times are GMT -4. The time now is 01:05.