CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Paraview Find Data

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 14, 2018, 12:00
Default Paraview Find Data
  #1
Member
 
Joaquín Neira
Join Date: Oct 2017
Posts: 37
Rep Power: 4
cojua8 is on a distinguished road
Hello,

I'm trying to use the Find Data utility, but paraview shows this:

Error: Find Data requires that ParaView be built with Python enabled. To enable Python set the CMake flag 'PARAVIEW_ENABLE_PYTHON' to True.

is there any way to get rid of this or I should install paraview again as it says?. If so, how do I do that?

Thank you

Last edited by cojua8; March 19, 2018 at 09:59.
cojua8 is offline   Reply With Quote

Old   March 15, 2018, 05:10
Default
  #2
Member
 
Hosein Heidarifatasmi
Join Date: Nov 2011
Location: Germany
Posts: 65
Rep Power: 10
einstein_zee is on a distinguished road
Quote:
Originally Posted by cojua8 View Post
Hello,

I'm trying to use the Find Data utility, but paraview shows this:

Error: Find Data requires that ParaView be built with Python enabled. To enable Python set the CMake flag 'PARAVIEW_ENABLE_PYTHON' to True.

is there any way to get rid of this or I should install paraview again as it says?. If so, how do I do that?

Thank you
Hi there,

Have you seen this thread already? "https://www.cfd-online.com/Forums/openfoam-installation/141505-python-not-enabled-parafoam-foamextend3-1-a.html" I didn't look thoroughly, but basically it addresses the same issue as you are addressing.
einstein_zee is offline   Reply With Quote

Old   March 19, 2018, 09:57
Default
  #3
Member
 
Joaquín Neira
Join Date: Oct 2017
Posts: 37
Rep Power: 4
cojua8 is on a distinguished road
I solved it by changing these lines in makeParaView:

Code:
withPYTHON=true
PYTHON_LIBRARY="/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0"
and the building again.

I used the location given by
Code:
locate libpython2.7.so.1.0
as the PYTHON_LIBRARY route, I don't know if you can use a different version of python.

I had to do this since the python building script didn't get the correct address
cojua8 is offline   Reply With Quote

Reply

Tags
paraview, python

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visualize Star-CCM+ data in Paraview peresah STAR-CCM+ 3 April 9, 2019 04:25
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times vidyadhar ParaView 2 June 25, 2017 12:03
Generating binary data files in fortran to read in paraview nadeem_malik Main CFD Forum 6 May 24, 2017 08:47
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 15:06
[General] paraview - plotting difference to reference data joewe ParaView 0 August 30, 2010 19:01


All times are GMT -4. The time now is 06:21.