pip 在Windows 10下的配置文件在哪里
简单命令就可以获取的
pip -v config list
注意命令行里面的<span style="color:orangered;font-weight:bold;"> -v </span>哦
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'
看下上面的路径哦,按图索骥即可哦
简单吧
走过路过不错过,这里就是子午哥;追根究底寻根源,问题解决没的说
本篇文章由一文多发平台PDArtPub自动发布