Skip to content

Configure Extra Python PIP Index in Windows

In some cases, it needs to configure an extra pip repository for the pip in windows, here are the instructions.

  1. In the path %appdata%, create a directory pip
  2. Create a file pip.ini in the above-created directory pip
  3. Edit the created file pip.ini with the following example content

    INI
    [global]
    index-url = <extra repo url>
    extra-index-url = https://pypi.python.org/simple/
    trusted-host =  <extra repo host>
    pypi.python.org