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

[General] Python Shell button is diabled

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 19, 2012, 10:11
Default Python Shell button is diabled
  #1
JPW
New Member
 
James Walker
Join Date: Jul 2012
Posts: 6
Rep Power: 14
JPW is on a distinguished road
I am new to ParaView, I am using ParaView 3.14.0. I want to create some scripts for batch processing, but I can't even open up the Python console window.

When I go to: Tools -> Python Shell the button is disabled.

When I try running ParaView from the terminal with a script (using --script) I get:
Python support not enabled. Cannot run python scripts.



Does anyone know how I can enable it?


Thanks.
James

Last edited by JPW; July 19, 2012 at 11:45.
JPW is offline   Reply With Quote

Old   July 20, 2012, 06:13
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings JPW and welcome to the forum!

Depends on how you installed ParaView! The Python functionality is only available if ParaView is built with it.
I believe that the official binary installation provides this functionality out-of-the-box: http://www.paraview.org/

Best regards,
Bruno
sharonyue likes this.
__________________
wyldckat is offline   Reply With Quote

Old   July 23, 2012, 09:44
Default
  #3
JPW
New Member
 
James Walker
Join Date: Jul 2012
Posts: 6
Rep Power: 14
JPW is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings JPW and welcome to the forum!

Depends on how you installed ParaView! The Python functionality is only available if ParaView is built with it.
I believe that the official binary installation provides this functionality out-of-the-box: http://www.paraview.org/

Best regards,
Bruno
Thanks.
I have installed the version from the ParaView website, and it working fine now.
JPW is offline   Reply With Quote

Old   November 5, 2015, 02:36
Default hi
  #4
Senior Member
 
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13
shipman is on a distinguished road
Hi Bruno,

So, as far as I understood from your words that the installed paraview during openfoam installation is different than paraview explained web page directly. Because, I had same problem that I could not execute the python script with the installed paraview with openfoam.

On the other hand, I would like to ask one more question that I am doing a large scale simulation (first time I try) on a super computer. I have already the python script which gives automatic post processing data. Do you have any idea how can I get post processing data using python script in Super Computer? Should I have also same version of paraview in Super computer and execute the python script there? or is there any other way?

thank you in advance.
shipman is offline   Reply With Quote

Old   November 8, 2015, 15:51
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answers:
Quote:
Originally Posted by shipman View Post
So, as far as I understood from your words that the installed paraview during openfoam installation is different than paraview explained web page directly. Because, I had same problem that I could not execute the python script with the installed paraview with openfoam.
Depends on the OpenFOAM version and/or what installation instructions you followed.

Quote:
Originally Posted by shipman View Post
On the other hand, I would like to ask one more question that I am doing a large scale simulation (first time I try) on a super computer. I have already the python script which gives automatic post processing data. Do you have any idea how can I get post processing data using python script in Super Computer? Should I have also same version of paraview in Super computer and execute the python script there? or is there any other way?
A few details come into mind:
  1. You must use the same version of ParaView, if you connect graphically.
  2. If the case is decomposed, you must use a data reader that supports parallel data loading. For example, for OpenFOAM, you can use the built-in reader: https://openfoamwiki.net/index.php/F...29_in_ParaView
  3. If you want to purely script things, you can imply use pvpython instead of paraview.
randolph likes this.
wyldckat is offline   Reply With Quote

Reply


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
[OpenFOAM] Paraview from python shell : Glew initialization and VTKcommoncorepython error pradyumnsingh ParaView 0 September 18, 2018 14:40
[OpenFOAM] Integrate Variables using ParaView Python Shell cfdsolver1 ParaView 0 October 12, 2016 04:08
[OpenFOAM] using the python shell in paraFoam colinB ParaView 14 September 14, 2015 10:04
[General] VTK API: Working with values inside the python shell Thoma ParaView 4 January 10, 2013 15:35
How to get Python Shell into ParaView 3.8.1? blaise OpenFOAM Installation 3 July 24, 2012 05:58


All times are GMT -4. The time now is 13:46.