session_info outputs version information for modules loaded in the current session, Python, and the OS.
conda install conda-forge::session-info