pip 在Windows 10下的配置文件在哪里
简单命令就可以获取的
pip -v config list
注意命令行里面的 -v 哦
pip -v config list
For variant 'global', will try loading 'C:\ProgramData\pip\pip.ini'
For variant 'user', will try loading 'C:\Users\xxxusername\pip\pip.ini'
For variant 'user', will try loading 'C:\Users\xxxusername\AppData\Roaming\pip\pip.ini'
For variant 'site', will try loading 'd:\xxxusername\scoop\apps\python\current\pip.ini'
global.index-url='http://mirrors.aliyun.com/pypi/simple/'
install.trusted-host='mirrors.aliyun.com'
看下上面的路径哦,按图索骥即可哦
简单吧