Repository navigation
Fix Windows-native CPU-only install path and Python version support in pip guide - #2448
Open
sanjay102432 wants to merge 3 commits into
Open
sanjay102432 wants to merge 3 commits into
sanjay102432 wants to merge 3 commits into
Conversation
…n pip guide - Update supported Python versions to 3.10-3.13 (Python 3.9 removed in TF 2.21) - Replace obsolete Miniconda/conda/cudatoolkit Windows-native instructions with venv CPU-only flow - Fix broken #windows-[wsl2] anchor - Refs tensorflow/tensorflow#111734
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
MarkDaoust
reviewed
Oct 26, 2026
|
|
||
| ```bash | ||
| python3 -m pip install 'tensorflow[and-cuda]' | ||
| 3 -m pip install 'tensorflow[and-cuda]' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the TF 3.0 release documentation effort — refs tensorflow/tensorflow#111734.
Changes (
site/en/install/pip.md)RELEASE.md; the wheel table in this guide lists cp310-cp313 builds)conda install cudatoolkit=11.2+pip install "tensorflow<2.11"+ GPU-verification block with current CPU-only instructions and the CPU verification command (native Windows has had no GPU support since TF 2.11)conda create python=3.9/ cuDNN sections; replaced with the standard venv flow, with a note pointing GPU users to the WSL2 section; renumbered steps (1 System requirements, 2 VC++ Redistributable, 3 venv, 4 Install, 5 Verify)#windows-[wsl2]->#windows-wsl2Verification
RELEASE.md: "Support for Python 3.9 has been removed starting with TF 2.21."pip install tensorflow-cpuinstalls andpython -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"runs successfully.Refs tensorflow/tensorflow#111734