getPythonPackages¶
- lsst.utils.packages.getPythonPackages() dict[str, str] ¶
Get imported python packages and their versions.
Notes
We wade through
sys.modules
and attempt to determine the version for each module. Note, therefore, that we can only report on modules that have already been imported.We don’t include any module for which we cannot determine a version.