getCondaPackages

lsst.utils.packages.getCondaPackages() dict[str, str]

Get products and their versions from the conda environment.

Returns:
packagesdict

Keys (type str) are product names; values (type str) are their versions.

Notes

Returns empty result if a conda environment is not in use or can not be queried.