create pip.ini file in C:\Users\Username\pip directory.

This directory may not exist, if so, then create one manually.

here are some common configurations that I add to the config file.

trusted-host =
proxy =

if multiple values should be set for one key, add a space between items like I did with trusted-host.

check if config is read

in terminal, run command like below to check if configuration from pip.ini has been loaded.

$ pip config list

1 Comment

Kingston X · September 19, 2021 at 3:04 am

It worked! Thanks

Leave a Reply

Your email address will not be published.