nschloe / meshio

:spider_web: input/output for many mesh formats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] On Ubuntu 22.04 is the paraview plugin not available after pip install meshio[all]

klausbu opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.

I am not able to install the meshio-paraview plugin on Ubuntu 22.04 to be able to open Gmsh meshes in paraview. I installed meshio using pip install meshio[all] and tried to install the plugin in paraview following the instruction: Find the file paraview-meshio-plugin.py of your meshio installation (on Linux: ~/.local/share/paraview-5.9/plugins/) and load it under Tools / Manage Plugins / Load New but there's no such file, nor directory.

There are the files:
/usr/share/paraview-5.10/xmls/ParaViewFilters.xml
/usr/share/paraview-5.10/xmls/ParaViewSources.xml

which set to autoload in paraview (Tools>ManagePlugins...) but I still can't read Gmsh meshes. How to find/install/enable the paraview-meshio-plugin.py plugin to be able to view Gmsh meshes in paraview?

To Reproduce
A minimal code example that reproduces the problem would be a big help if you can provide it. Attach a small mesh file if necessary.

  1. Install paraview from the repository
  2. pip install meshio[all]
  3. in paraview: Tools / Manage Plugins / Load New -> the expected directory doesn't exist
  4. paraview-meshio-plugin.py cannot be found using a search

Diagnose
I may ask you to cut and paste the output of the following command.

pip freeze | grep meshio

meshio==5.3.5