balaganAtomi
balaganAtomi

Reputation: 627

pip.conf location on a conda environment

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?

Upvotes: 4

Views: 7741

Answers (1)

balaganAtomi
balaganAtomi

Reputation: 627

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.

Upvotes: 6

Related Questions