From 6f953ac36ae2d619dfe5f86aa7b453cc0b5ebd36 Mon Sep 17 00:00:00 2001 From: Micah Lindstrom <59303202+ukanuk@users.noreply.github.com> Date: Sat, 18 Jul 2026 19:22:01 -0500 Subject: [PATCH 1/3] How to skip `nuget.config` Developers who do not already have nuget and do not need to write a nuget.config file can use this one extra command to let nuget find the python package in the official nuget repository. --- Doc/using/windows.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst index 5bec0c57b12214..36344751037602 100644 --- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -1183,6 +1183,10 @@ using curl or PowerShell. With the tool, the latest version of Python for nuget.exe install python -ExcludeVersion -OutputDirectory . nuget.exe install pythonx86 -ExcludeVersion -OutputDirectory . +Resolve error `Unable to find package 'python'` from a misconfigured `nuget.config` using:: + + nuget.exe sources add -Name "nuget.org" -source "https://api.nuget.org/v3/index.json" + To select a particular version, add a ``-Version 3.x.y``. The output directory may be changed from ``.``, and the package will be installed into a subdirectory. By default, the subdirectory is named the same as the package, From 2f67a7eab7034f4e80aa18c9b4d9f3ed8b23cb3f Mon Sep 17 00:00:00 2001 From: Micah Lindstrom <59303202+ukanuk@users.noreply.github.com> Date: Sat, 18 Jul 2026 19:24:54 -0500 Subject: [PATCH 2/3] How to skip `nuget.config` Developers who do not already have nuget and do not need to write a nuget.config file can use this one extra command to let nuget find the python package in the official nuget repository. --- Doc/using/windows.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst index 36344751037602..6764ef0bdea113 100644 --- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -1183,7 +1183,7 @@ using curl or PowerShell. With the tool, the latest version of Python for nuget.exe install python -ExcludeVersion -OutputDirectory . nuget.exe install pythonx86 -ExcludeVersion -OutputDirectory . -Resolve error `Unable to find package 'python'` from a misconfigured `nuget.config` using:: +Resolve error ``Unable to find package 'python'`` from a misconfigured ``nuget.config`` using:: nuget.exe sources add -Name "nuget.org" -source "https://api.nuget.org/v3/index.json" From c572131c003902a7ccc40e7e89bcd08009b2a82f Mon Sep 17 00:00:00 2001 From: Micah Lindstrom <59303202+ukanuk@users.noreply.github.com> Date: Mon, 3 Aug 2026 22:29:11 -0500 Subject: [PATCH 3/3] Update windows.rst Developers who do not already have nuget and do not need to write a nuget.config file can use this one extra command to let nuget find the python package in the official nuget repository. --- Doc/using/windows.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/using/windows.rst b/Doc/using/windows.rst index 6764ef0bdea113..676d6e2e48efbb 100644 --- a/Doc/using/windows.rst +++ b/Doc/using/windows.rst @@ -1183,10 +1183,6 @@ using curl or PowerShell. With the tool, the latest version of Python for nuget.exe install python -ExcludeVersion -OutputDirectory . nuget.exe install pythonx86 -ExcludeVersion -OutputDirectory . -Resolve error ``Unable to find package 'python'`` from a misconfigured ``nuget.config`` using:: - - nuget.exe sources add -Name "nuget.org" -source "https://api.nuget.org/v3/index.json" - To select a particular version, add a ``-Version 3.x.y``. The output directory may be changed from ``.``, and the package will be installed into a subdirectory. By default, the subdirectory is named the same as the package, @@ -1221,6 +1217,10 @@ for the 64-bit version, `www.nuget.org/packages/pythonx86 `www.nuget.org/packages/pythonarm64 `_ for the ARM64 version +Resolve error ``Unable to find package 'python'`` from a misconfigured ``nuget.config`` using:: + + nuget.exe sources add -Name "nuget.org" -source "https://api.nuget.org/v3/index.json" + Free-threaded packages ----------------------