# OS
import platform
print(platform.system())
print(platform.release())
print(platform.version())
print(platform.platform())
Linux 5.4.188+ #1 SMP Sun Apr 24 10:03:06 PDT 2022 Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
# python
import platform
print(platform.python_version())
3.7.13
# matplotlib
import matplotlib
print(matplotlib.__version__)
3.2.2
# numpy
import numpy as np
print(np.__version__)
1.21.6
# tensorflow
import tensorflow as tf
print(tf.__version__)
2.8.2
# sym
import gym
print(gym.__version__)
0.17.3