getAllPythonDistributions¶
- lsst.utils.packages.getAllPythonDistributions() dict[str, str]¶
Get the versions for all Python distributions that are installed.
- Returns:
- packages
dict[str,str] Keys are distribution names; values are their versions. Unlike
getPythonPackagesthis function will not include standard library packages defined insys.stdlib_module_namesbut will include a specialpythonkey reporting the Python version.
- packages
Notes
If this function is called a second time an identical result will be returned even if a new distribution has been installed.