Shylock Hg

My own blog powered by Hugo and Ivy.

Retarget source of pip


Change source of pip

Some times,we need to change source of pip.We can just get it by:

index-url =

Where [global] means apply source to any action(such as install) of pip.Then add this to /user/.pip/pip.conf,the corresponding user can use the source. So,if you run sudo pip you need add .pip/pip.conf to root dir.