Search Criteria
Package Details: python-pyvista 0.44.2-4
Package Actions
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 VTK |
Upstream URL: | https://www.pyvista.org |
Licenses: | MIT |
Submitter: | MartinDiehl |
Maintainer: | MartinDiehl |
Last Packager: | MartinDiehl |
Votes: | 7 |
Popularity: | 0.010209 |
First Submitted: | 2020-12-16 05:18 (UTC) |
Last Updated: | 2025-01-03 13:12 (UTC) |
Dependencies (13)
- python-matplotlib (python-matplotlib-gitAUR)
- python-numpy (python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- python-pillow (python-pillow-simd-gitAUR)
- python-pooch
- python-scoobyAUR
- vtk (vtk-gitAUR, vtk93AUR)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- python-imageioAUR (optional)
- python-meshioAUR (optional)
- xorg-server-xvfb (xorg-server-xvfb-gitAUR) (optional)
Required by (10)
- python-cplot (optional)
- python-felupe (check)
- python-felupe (optional)
- python-fenics-dolfinx (optional)
- python-kikuchipy (optional)
- python-magpylib
- python-mpsplots
- python-pyntcloud (optional)
- python-pyvistaqt
- python-trame-vtk (check)
Latest Comments
« First ‹ Previous 1 2
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
carlosal1015 commented on 2022-01-06 05:25 (UTC) (edited on 2022-01-11 00:13 (UTC) by carlosal1015)
I can confirm this message after installation over environment with base-devel + pyvista.
I will try another way to install. Remember that for do
$ python -c 'import vtk'
, must be installedvtk
with the minimal optional dependenciespython-mpi4py pdal ffmpeg unixodbc liblas pugixml fmt libxcursor glew ospray qt5-base openvr cgns adios2 libharu gl2ps
.Edited 2022-01-10:
Working in progress with check() function, PKGBUILD with noparaview.
Valery commented on 2022-01-06 04:52 (UTC) (edited on 2022-01-06 05:28 (UTC) by Valery)
The new version, pyvista-0.33.0 require some python vtk modules: import pyvista as pv
Traceback (most recent call last):
File "/tmp/ipykernel_1073494/1985632967.py", line 1, in <module> import pyvista as pv
File "/usr/lib/python3.10/site-packages/pyvista/init.py", line 12, in <module> from pyvista.plotting import *
File "/usr/lib/python3.10/site-packages/pyvista/plotting/init.py", line 4, in <module> from .charts import Chart2D, ChartMPL, ChartBox, ChartPie
File "/usr/lib/python3.10/site-packages/pyvista/plotting/charts.py", line 13, in <module> from pyvista import _vtk
File "/usr/lib/python3.10/site-packages/pyvista/_vtk.py", line 351, in <module> from vtkmodules.vtkPythonContext2D import vtkPythonItem
ModuleNotFoundError: No module named 'vtkmodules.vtkPythonContext2D'
MartinDiehl commented on 2021-08-12 22:06 (UTC)
@carlosal1015: Yes, technically the dependency is vtk. In an ideal world, paraview would depend on vtk.But due to incompatibilities, paraview needs its on vtk which brings it into conflict with the vtk packet. Since I need paraview, for me switching the dependency is not an option. Is there anything from vtk that you miss in the paraview packet?
carlosal1015 commented on 2021-08-12 19:26 (UTC)
Hi, in the source code I do not see something that makes a dependency of paraview. In Gentoo I also don't see that it depends on paraview.
Paraview has conflicts with VTK, what I see is that the python-pyvista package depends on VTK and is not included as dependency, is it ok to swap paraview for vtk? This change would allow python-pyvista to be used with python vtk modules. I'm not sure of my claim, but I have been able to install python-vista (with another PKGBUILD) using vtk instead of paraview.
sitic commented on 2021-02-17 16:49 (UTC)
python-transforms3d is missing as dependency,
import pyvista
fails with:« First ‹ Previous 1 2