getAllPythonDistributions¶
- lsst.utils.packages.getAllPythonDistributions() dict[str, str]¶
- Get the versions for all Python distributions that are installed. - Returns:
- packagesdict[str,str]
- Keys are distribution names; values are their versions. Unlike - getPythonPackagesthis function will not include standard library packages defined in- sys.stdlib_module_namesbut will include a special- pythonkey 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.