Python support in paraview not found. (solved)

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
fungnow
Posts: 16
Joined: Thu Oct 14, 2021 5:50 pm

Python support in paraview not found. (solved)

Post by fungnow »

installed 0.19 0.20 0.21

upon "Run dependency checker" I get this:

Paraview executable: C:\Users\fungnow\Pulsejets\ParaView 5.5.2-Qt5-Windows-64bit\bin
Python support in paraview not found. Please install paraview python packages.


at this point I dont know what to do!!!!!
Last edited by fungnow on Sun Jul 17, 2022 3:03 pm, edited 1 time in total.
david69
Veteran
Posts: 1773
Joined: Wed Jan 01, 2014 7:48 pm

Re: Python support in paraview not found.

Post by david69 »

you read the red rubbon top of the forum and apply it with detailed info. thanks.
fungnow
Posts: 16
Joined: Thu Oct 14, 2021 5:50 pm

Re: Python support in paraview not found.

Post by fungnow »

Sorry found my problem
thank u for fast reply thou!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Python support in paraview not found.

Post by Kunda1 »

@fungnow please modify the title of the 1st post to [SOLVED]
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
tone_alone
Posts: 6
Joined: Sun Oct 25, 2020 1:26 am

Re: Python support in paraview not found. (solved)

Post by tone_alone »

Hi all, not sure if I should've started a new thread but I'm having a similar issue with ParaView and don't know how to resolve
here's my Freecad info:

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.30193 (Git)
Build type: Release
Branch: master
Hash: a8cb4e744483ce2c4b0770b948105a766330a4b2
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * freecad-mbdyn-dynamics-workbench-master
  * Behave-Dark-Colors 0.1.1
  * InventorLoader 1.3.0
  * EM
  * Render 2022.2.0
  * CfdOF 1.17.7
  * OSE3dPrinter
  * SelectorToolbar
  * A2plus 0.4.56a
  * lattice2 1.0.0
  * sheetmetal 0.2.56
  * CubeMenu
  * Curves 0.5.6
This is the output when I check dependancies for CfdOF:

Code: Select all

Checking dependencies...
System: Darwin
Runtime: Posix
OpenFOAM directory: /Volumes/OpenFOAM-v2206
HiSA not found
Paraview executable: /Applications/ParaView-5.10.1.app/Contents/bin/pvpython
Python support in paraview not found. Please install paraview python packages.
gmsh executable: /usr/local/Cellar/gmsh/4.10.5_1/bin/gmsh
I'm running OpenFOAM for MacOS provided here:
https://github.com/gerlero/openfoam-app

CfdOF seems to run within FreeCAD; I was able to complete this tutorial up to the point of viewing the sim in ParaView:
https://www.youtube.com/watch?v=OS4sbbBtZUw&t=958s

@fungnow-can you share how you fixed this issue?

Thanks
User avatar
oliveroxtoby
Posts: 812
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Python support in paraview not found. (solved)

Post by oliveroxtoby »

tone_alone wrote: Fri Aug 26, 2022 9:04 pm Hi all, not sure if I should've started a new thread but I'm having a similar issue with ParaView and don't know how to resolve
here's my Freecad info:

Code: Select all

OS: macOS 10.16
I don't know how it is in macOS, but in some Linux distributions, the python scripting functionality in paraview is provided by a separate package, called something like 'python3-paraview' (that's what it is on Ubuntu 20.04). If it's installed correctly, the command 'pvpython' should be available.
KAKM
Posts: 109
Joined: Tue May 04, 2021 12:17 am

Re: Python support in paraview not found. (solved)

Post by KAKM »

oliveroxtoby wrote: Sun Sep 04, 2022 3:32 pm I don't know how it is in macOS, but in some Linux distributions, the python scripting functionality in paraview is provided by a separate package, called something like 'python3-paraview' (that's what it is on Ubuntu 20.04). If it's installed correctly, the command 'pvpython' should be available.
I installed ParaView using Homebrew and didn't have any problems, so if that's how they did it, it should be fine. The line that caught my attention was

Code: Select all

Paraview executable: /Applications/ParaView-5.10.1.app/Contents/bin/pvpython
On my install, that point in the directory is an executable-which means pvpython is there. I think the problem may be that CfdOf is looking inside .../pvpython for the file pvpython.

@tone_alone, I think you may have put the wrong path into the CfdOf preference panel. This is what mine looks like, and it works.
Screen Shot 2022-09-12 at 10.56.24 AM.png
Screen Shot 2022-09-12 at 10.56.24 AM.png (39.26 KiB) Viewed 1823 times
tone_alone
Posts: 6
Joined: Sun Oct 25, 2020 1:26 am

Re: Python support in paraview not found. (solved)

Post by tone_alone »

@KAKM, thanks for posting the screenshot I also installed Paraview using Homebrew - when I set the executable path to:

Code: Select all

Paraview executable: /Applications/ParaView-5.10.1.app/
but I got the same error, I then tried:

Code: Select all

/Applications/ParaView-5.10.1.app/Contents/bin/
which seemed to solve the problem; I didn't get an error, but(!) Paraview doesn't start when I try to view the mesh, or sim…
Post Reply