OpenGeoVis / PVGeo

🌍 Python package of VTK-based algorithms to analyze geoscientific data and models
https://pvgeo.org
BSD 3-Clause "New" or "Revised" License
215 stars 43 forks source link

No module named 'pyvista.core.utilities' #114

Closed paitor closed 9 months ago

paitor commented 9 months ago

Hi

Installing PVGeo using pip and running python 3.6.9 installs pyvista 0.33.3 in which pyvista.core.utilities does not exist. Reading up on pyvista I note the pyvista.utilities were split into pyvista.core.utilities and pyvista.plotting.utilities in PR #4486 the not entirely clear to me which version of pyvista this was merged into. Perhaps worth looking into to set the dependencies straight.

banesullivan commented 9 months ago

Unfortunately, PyVista no longer supports Python 3.6. You'll need to install an older version of PVGeo that is compatible with the version of PyVista you have on Python 3.6. Likely just pvgeo<3

banesullivan commented 9 months ago

I've made Python support for PVGeo explicitly >=3.8 in af2bea26eff48a9194c99f87e84bfe0254fd2482. I'll push a new release for this and yank the previous 3.x release(s) so that the odds of getting compatible versions of PVGeo+PyVista is more likely

banesullivan commented 9 months ago

Closing this issue as PVGeo==3.0.1 is released and PVGeo==3.0.0 has been yanked. This should help mitigate these version incompatibilities though no guarantees as only Python 3.8+ is supported at this time