From c17b30650f85c3917868e500fb843f88f54b64e3 Mon Sep 17 00:00:00 2001 From: Himanshu Agrawal Date: Mon, 8 Jun 2026 13:32:49 +0530 Subject: [PATCH] Mention stale pip index configuration --- source/guides/migrating-to-pypi-org.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/guides/migrating-to-pypi-org.rst b/source/guides/migrating-to-pypi-org.rst index 2b565e8ee..77be25b07 100644 --- a/source/guides/migrating-to-pypi-org.rst +++ b/source/guides/migrating-to-pypi-org.rst @@ -135,6 +135,12 @@ Downloading packages ``pypi.org`` is the default host for downloading packages. +If your installer still tries to download from ``pypi.python.org``, check your +pip configuration files and the ``PIP_INDEX_URL`` environment variable for an +old ``index-url`` setting such as ``https://pypi.python.org/pypi/``. Remove +that override, or replace it with ``https://pypi.org/simple/``. You can run +``python -m pip config debug`` to see which configuration files pip is reading. + Managing published packages and releases ----------------------------------------