Skip to content

Commit 820135c

Browse files
apivovarovcopybara-github
authored andcommitted
[DOC] Update python requirements in Install TensorFlow 2 page
PiperOrigin-RevId: 782042741
1 parent de22312 commit 820135c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

site/en/install/_index.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ landing_page:
2020
<table class="columns">
2121
<tr><td>
2222
<ul>
23-
<li>Python 3.8–3.11</li>
23+
<li>Python 3.9–3.12</li>
2424
<li>Ubuntu 16.04 or later</li>
2525
<li>Windows 7 or later (with <a href="https://support.microsoft.com/help/2977003/the-latest-supported-visual-c-downloads">C++ redistributable</a>)</li>
2626
</ul>
@@ -51,8 +51,10 @@ landing_page:
5151
<pre class="prettyprint lang-bsh devsite-disable-click-to-copy">
5252
# Requires the latest pip
5353
<code class="devsite-terminal">pip install --upgrade pip</code><br/>
54-
# Current stable release for CPU and GPU
54+
# Current stable release for CPU
5555
<code class="devsite-terminal">pip install tensorflow</code><br/>
56+
# Current stable release for GPU (Linux / WSL2)
57+
<code class="devsite-terminal">pip install tensorflow[and-cuda]</code><br/>
5658
# Or try the preview build (unstable)
5759
<code class="devsite-terminal">pip install tf-nightly</code><br/>
5860

0 commit comments

Comments
 (0)