
Jan. 30, 2023
9 p.m.
Sorry for the delayed response, I just ran across your enquiry. The issue here is that you need to invoke Python with the command `python3`. For historical reasons, the command `python` was reserved for invoking earlier versions of Python, most recently Python 2.7, during the decade-long transition period when both Python 2 and Python 3 were often installed on the same system. Now that Python 2 has been officially retired and no longer being installed by default on most modern systems (regardless of operating system), it might be time to reassess that recommendation; another option might be to now provide a `python` alias or link to a reminder message. The Python docs working group is planning to discuss this issue in the near future.