Skip to content

Commit fd758bc

Browse files
authored
Update min Python to 3.9 (#1773)
* Update min Python to 3.9 * Update mac.md * Update windows.md * Update linux.md
1 parent d9134e6 commit fd758bc

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

_get_started/installation/linux.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PyTorch is supported on Linux distributions that use [glibc](https://www.gnu.org
2525
### Python
2626
{: #linux-python}
2727

28-
Python 3.8-3.11 is generally installed by default on any of our supported Linux distributions, which meets our recommendation.
28+
Python 3.9-3.12 is generally installed by default on any of our supported Linux distributions, which meets our recommendation.
2929

3030
> 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.
3131

_get_started/installation/mac.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ PyTorch is supported on macOS 10.15 (Catalina) or above.
1313
### Python
1414
{: #mac-python}
1515

16-
It is recommended that you use Python 3.8 - 3.11.
16+
It is recommended that you use Python 3.9 - 3.11.
1717
You can install Python either through the Anaconda
1818
package manager (see [below](#anaconda)), [Homebrew](https://brew.sh/), or
1919
the [Python website](https://www.python.org/downloads/mac-osx/).
2020

21-
In one of the upcoming PyTorch releases, support for Python 3.8 will be deprecated.
22-
2321
### Package Manager
2422
{: #mac-package-manager}
2523

_get_started/installation/windows.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PyTorch is supported on the following Windows distributions:
1818
### Python
1919
{: #windows-python}
2020

21-
Currently, PyTorch on Windows only supports Python 3.8-3.11; Python 2.x is not supported.
21+
Currently, PyTorch on Windows only supports Python 3.9-3.12; Python 2.x is not supported.
2222

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

_includes/quick_start_local.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<a href="{{ site.baseurl }}/get-started/previous-versions">install previous versions of PyTorch</a>. Note that LibTorch is only available for C++.
66
</p>
77

8-
<p><b>NOTE:</b> Latest PyTorch requires Python 3.8 or later.</p>
8+
<p><b>NOTE:</b> Latest PyTorch requires Python 3.9 or later.</p>
99

1010
<div class="row">
1111
<div class="col-md-3 headings">

0 commit comments

Comments
 (0)