This shows that the problem is python uses python2.7 when what you want to invoke is python3, hence to use alias python=python3 as this advises python3 - How to make 'python' program command execute Python 3? - Ask Ubuntu
This shows that the problem is python uses python2.7 when what you want to invoke is python3, hence to use alias python=python3 as this advises python3 - How to make 'python' program command execute Python 3? - Ask Ubuntu