fix(curriculum): add note for python 2 to python installation lesson (#64540)

This commit is contained in:
Diem-Trang Pham
2025-12-14 04:59:58 -06:00
committed by GitHub
parent 795d7c5962
commit 2ed1b5b86d
@@ -28,7 +28,7 @@ You can also open the Python interpreter by running `python` or `python3` in the
A <dfn>terminal</dfn> is a text-based interface that lets you interact with your computer by typing commands. Each operating system comes with a default terminal app. On macOS, you can use the Terminal app. On Windows, you can use Command Prompt or PowerShell. On Linux, each desktop environment has its own default terminal app, like GNOME Terminal or Konsole.
Note that, on some older macOS and Linux systems, `python` can be reserved for Python 2, while `python3` is for Python 3 specifically. If you run `python --version` and see a version of Python 2 like `Python 2.7.18`, then it's possible that your OS relies on some software that was written in the older version of Python. If that's the case, you should use `python3` to run your Python code going forward.
Note that, on some older macOS and Linux systems, `python` can be reserved for Python 2, while `python3` is for Python 3 specifically. If you run `python --version` and see a version of Python 2 like `Python 2.7.18`, then it's possible that your OS relies on some software that was written in the older version of Python. If that's the case, you should use `python3` to run your Python code going forward. Python 2 is end-of-life and should not be used for any new development.
To install Python on Windows, follow these steps: