Skip to content

Fix Python Versions in _getting_started/installation/ #2037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: site
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _get_started/installation/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ PyTorch is supported on Linux distributions that use [glibc](https://www.gnu.org
### Python
{: #linux-python}

Python 3.9-3.12 is generally installed by default on any of our supported Linux distributions, which meets our recommendation.
Python 3.9-3.13 is generally installed by default on any of our supported Linux distributions, which meets our recommendation.

> Tip: By default, you will have to use the command `python3` to run Python. If you want to use just the command `python`, instead of `python3`, you can symlink `python` to the `python3` binary.

Expand Down
2 changes: 1 addition & 1 deletion _get_started/installation/mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PyTorch is supported on macOS 10.15 (Catalina) or above.
### Python
{: #mac-python}

It is recommended that you use Python 3.9 - 3.12.
It is recommended that you use Python 3.9 - 3.13.
You can install Python either through [Homebrew](https://brew.sh/) or
the [Python website](https://www.python.org/downloads/mac-osx/).

Expand Down
2 changes: 1 addition & 1 deletion _get_started/installation/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PyTorch is supported on the following Windows distributions:
### Python
{: #windows-python}

Currently, PyTorch on Windows only supports Python 3.9-3.12; Python 2.x is not supported.
Currently, PyTorch on Windows only supports Python 3.9-3.13; Python 2.x is not supported.

As it is not installed by default on Windows, there are multiple ways to install Python:

Expand Down