Jupyter NB Python 3 Kernel Selected, but is using 2.7 instead

I’m running L4T-ML image, and am confused by what I see when attempting to run Jupyter NBs.

My kernel selection for the NB (its the only available selection) is Python 3, however, running !python --version shows that the 2.7.17 kernel is actually running.

To summarize, why doesn’t !python --version report v3.x when the jupyter notebook kernel selection is ‘python 3’?

image

I believe ! runs OS shell command in Jupyter, and in the container, python is python 2.7. !python3 --version should be 3.6.

To see the Python version that the notebook is actually running, see this post: https://stackoverflow.com/a/52360659