Issue
I got Python 2.7.8 installed on my Win7 machine, which comes with pip already pre-installed.
I’m successfully able to install new packages from pip and now I need to add custom repository url to the install list of pip
To do so I need to modify pip.ini
which is in %APPDATA%\pip\pip.ini
according to the Official Manual
However there are no pip
folder anywhere (not in Roaming
, not in Local
, not in LocalLow
)
nor there exists PyPa
folder in: C:\ProgramData\PyPA\pip\pip.conf
Could you tell me where do i search for pip.ini
? how to add foreign repo to the install list?
Solution
Finally got it sorted.
Apparently for Windows users pip.ini
config file is not created, however can be added manually!
just create new %APPDATA%\pip\pip.ini
and content of custom repository:
[install]
find-links = https://<login>:<password>@your.repo.com/custom/url
Reference: https://pip.pypa.io/en/stable/user_guide/#config-file
Answered By – Briksins
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0