How can I check what version of the Python Interpreter is interpreting my script?
Check Python version: python -V or python --version or apt-cache policy python
python -V
python --version
apt-cache policy python
you can also run whereis python to see how many versions are installed.
whereis python