Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pip.conf location on a conda environment

Tags:

pip

conda

I couldn't find the pip.conf file when I was on an active conda environment. Where is pip.conf file located when I'm working on an active conda environment?

like image 309
balaganAtomi Avatar asked Oct 19 '25 19:10

balaganAtomi


1 Answers

That file may exist in your machine by order of priority:
[Priority 1] Site level configuration files
1. {your conda location}/envs/{your environment name }/pip.conf

[Priority 2] User level configuration files
1. /home/${USER}/.config/pip/pip.conf
2. /home/${USER}/.pip/pip.conf

[Priority 3] Global level configuration files
1. /etc/pip.conf
2. /etc/xdg/pip/pip.conf

Based on NVIDIA PyIndex. notes.

like image 54
balaganAtomi Avatar answered Oct 23 '25 12:10

balaganAtomi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!