How can I print the version number of the current Python installation from my script?
If you are using jupyter notebook Try:
!python --version
If you are using terminal Try:
python --version