Package Details: python-pyvista 0.44.2-1

Git Clone URL: https://aur.archlinux.org/python-pyvista.git (read-only, click to copy)
Package Base: python-pyvista
Description: 3D plotting and mesh analysis through a streamlined interface for the Visualization Toolkit (VTK)
Upstream URL: https://www.pyvista.org
Licenses: MIT
Submitter: MartinDiehl
Maintainer: MartinDiehl
Last Packager: MartinDiehl
Votes: 7
Popularity: 0.083141
First Submitted: 2020-12-16 05:18 (UTC)
Last Updated: 2024-12-02 13:30 (UTC)

Latest Comments

1 2 Next › Last »

carlosal1015 commented on 2023-07-10 00:48 (UTC)

Hi, after install vtk's python bindings dependencies (openmpi fmt jsoncpp glew ospray openxr openvr ffmpeg hdf5-openmpi postgresql-libs netcdf pdal mariadb-libs liblas cgns adios2 libharu gl2ps verdict), I have the following message error

$ python
Python 3.11.3 (main, Jun  5 2023, 09:32:32) [GCC 13.1.1 20230429] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyvista
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.11/site-packages/pyvista/__init__.py", line 11, in <module>
    from pyvista.core import *
  File "/usr/lib/python3.11/site-packages/pyvista/core/__init__.py", line 5, in <module>
    from .cell import Cell, CellArray
  File "/usr/lib/python3.11/site-packages/pyvista/core/cell.py", line 12, in <module>
    from .dataset import DataObject
  File "/usr/lib/python3.11/site-packages/pyvista/core/dataset.py", line 33, in <module>
    from .filters import DataSetFilters, _get_output
  File "/usr/lib/python3.11/site-packages/pyvista/core/filters/__init__.py", line 59, in <module>
    from .composite import CompositeFilters
  File "/usr/lib/python3.11/site-packages/pyvista/core/filters/composite.py", line 8, in <module>
    from pyvista.core.filters.data_set import DataSetFilters
  File "/usr/lib/python3.11/site-packages/pyvista/core/filters/data_set.py", line 6, in <module>
    import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'

python-matplotlib is a dependency according to https://github.com/pyvista/pyvista/blob/v0.40.0/pyproject.toml#L29

szsdk commented on 2023-02-15 07:11 (UTC)

I got this error when I try to install pyvista/python-scooby:error in scooby setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.7.*'. Did I make something mistake?

carlosal1015 commented on 2022-03-29 03:29 (UTC)

Replying ~7 months later, since that this issue is closed, now paraview and vtk can coexist in the system. In other hand, the package python-cplot that I maintain use python-pyvista for check() function. Pictures: 1, 2, 3, 4. As we see, the test are not passing due to some missing VTK modules that offer vtk and not paraview. But using this custom PKGBUILD python-pyvista-noparaview the tests are passing. Pictures: 5, 6.

MartinDiehl commented on 2022-01-06 06:46 (UTC)

@Valery

thanks for the solution. The underlying problem is that ParaView depends on VTK but cannot be build with the official VTK release. Its included VTK conflicts with the stand-alone VTK.

Since I use both, VTK (in Python) and ParaView, I only install ParaView. This normally works, but there are differences in enabled features (VTK from ParaView has normally more features enabled than the stand-alone version) and version (currently 9.0 for ParaViev 5.9 vs. 9.1 for stand-alone).

ParaView 5.9 is flagged out of date, I hope that after the update to 5.10 pyvista works again with ParaView VTK. If it is not a version issue but related to missing features, we have to look for another option.

Valery commented on 2022-01-06 05:30 (UTC)

I found a solution for pyvista-0.33 to work on manjaro: remove paraview dependence, build with vtk, and install fmt