How to install python packages

Hi, does the ParaView binary ship with all standard libraries in the regular Python version it’s using?

For example, a package I’m trying to use with pvpython requires zoneInfo, but since this is a standard library not available for installation, and pvpython doesn’t seem to have it by default, I’m unable to proceed. Any guidance would be appreciated!

As described in the link below, you can install any Python packages as long as they are registered in PyPI via pip.

https://discourse.paraview.org/t/install-any-python-package-for-the-paraview-binary-release-using-pip/14437/7

Yes, I understand that, but zoneInfo is not available to be installed via pip. It’s bundled with the default Python installation after Python 3.9

It doesn’t seem to come pre-bundled with pvpython, and hence, I’m not able to get it with pvpython.

@ben.boeckel do we need to enable something in our superbuild to provide zoneinfo in ParaView’s Python? Are we missing other standard modules in Python?

It’s probably just missing from this list.

I posted a merge request to add it to ParaView’s Python installation.