from platform import python_version print(python_version())
import packagename print(packagename.__version__)
import scipy print(scipy.__version__)