Tuesday, December 5, 2023
rated 0 times [  13] [ 0]  / answers: 1 / hits: 19258  / 2 Years ago, sat, march 12, 2022, 3:09:29

I have searched everywhere and I can not find the config file on Ubuntu Ubuntu 20.04.2 LTS with only pip3 installed
do I have to make one?
The below commands return null:

locate pip.conf


locate pip3.conf


find pip3.conf


find: ‘pip3.conf’: No such file or directory

More From » configuration


The default locations are ...


Beware that there was a bug in pip 20.0 (used in Ubuntu 20.04) and fixed in pip 21.0 where it ignored the global and used


locate pip.conf 

only works after a sudo updatedb was performed since you installed it (happens automatically at a given interval but it is not real time).

If there is no default you can create it with ...

export PIP_CONFIG_FILE=/dir/to/pip.conf

or by just creating


See the documentation for more information.

[#1784] Sunday, March 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 33
Total Questions: 136
Total Answers: 114

Location: Singapore
Member since Wed, Jan 13, 2021
3 Years ago