I installed Python by Homebrew, it was fine for a long time. After upgrading pip
to the latest version, I started to get:
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
But I can not find my pip.conf
under /etc
or /usr/local/etc
or $HOME/Library/Application Support/pip
or $HOME/.config/pip
, where can I find it?
On Mac OS X the configuration file is $HOME/Library/Application Support/pip/pip. conf. On Windows the configuration file is %APPDATA%\pip\pip. ini.
pip supports loading credentials stored in your keyring using the keyring library. Note that keyring (the Python package) needs to be installed separately from pip. This can create a bootstrapping issue if you need the credentials stored in the keyring to download and install keyring.
Checking for pip on OS X The output of pip --version tells you which version of pip is currently installed, and which version of Python it's set up to install packages for. This is especially helpful if you have more than one version of Python installed on your system.
If your pip
version is 9.0.1
, add the following code to your ~/.pip/pip.conf
to avoid the warning.
[list] format=columns
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With