pip 在Windows 10下的配置文件在哪里
简单命令就可以获取的
代码语言:txt复制pip -v config list
注意命令行里面的<span style="color:orangered;font-weight:bold;"> -v </span>哦
代码语言:txt复制pip -v config list
For variant 'global', will try loading 'C:ProgramDatapippip.ini'
For variant 'user', will try loading 'C:Usersxxxusernamepippip.ini'
For variant 'user', will try loading 'C:UsersxxxusernameAppDataRoamingpippip.ini'
For variant 'site', will try loading 'd:xxxusernamescoopappspythoncurrentpip.ini'
global.index-url='http://mirrors.aliyun.com/pypi/simple/'
install.trusted-host='mirrors.aliyun.com'
看下上面的路径哦,按图索骥即可哦
简单吧