pip配置文件

Per-user:

On Unix the default configuration file is: $HOME/.config/pip/pip.conf which respects the XDG_CONFIG_HOMEenvironment variable.
On macOS the configuration file is $HOME/Library/Application Support/pip/pip.conf if directory $HOME/Library/Application Support/pip exists else $HOME/.config/pip/pip.conf.
On Windows the configuration file is %APPDATA%\pip\pip.ini.

如果文件不存在,则需要自己创建。

引用:
https://pip.pypa.io/en/stable/user_guide/#config-file

你可能感兴趣的:(pip配置文件)