11
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windows10でpip.ini(pip.conf)の配置場所

Posted at

pip 9.0.1 以降で pip list をすると何か出ますね。

$ pip list
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.

書かれている通り、pip.confを作って設定すればいいのですが、そもそもどこに配置すればよいのかわかりません。
ググるといくつか見つかりますが、残念ながらWindows環境の情報が見つかりません。
結論から言うと %APPDATA% に 「pip」というフォルダを作成して「pip.ini」という名前で配置すると認識されます。

%APPDATA%\pip\pip.ini
[list]
format=columns
11
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?