Skip to content

Commit c17b306

Browse files
Mention stale pip index configuration
1 parent ecf32d9 commit c17b306

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎source/guides/migrating-to-pypi-org.rst‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ Downloading packages
135135

136136
``pypi.org`` is the default host for downloading packages.
137137

138+
If your installer still tries to download from ``pypi.python.org``, check your
139+
pip configuration files and the ``PIP_INDEX_URL`` environment variable for an
140+
old ``index-url`` setting such as ``https://pypi.python.org/pypi/``. Remove
141+
that override, or replace it with ``https://pypi.org/simple/``. You can run
142+
``python -m pip config debug`` to see which configuration files pip is reading.
143+
138144
Managing published packages and releases
139145
----------------------------------------
140146

0 commit comments

Comments
 (0)