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



作者:wMeSlAx767
链接:https://www.jianshu.com/p/ed2f23b70771
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

转自 https://www.jianshu.com/p/ed2f23b70771

posted @ 2021-04-26 09:21  亚瑟王2020  阅读(302)  评论(0)    收藏  举报