Movatterモバイル変換


[0]ホーム

URL:


ContentsMenuExpandLight modeDark modeAuto light/dark, in light modeAuto light/dark, in dark modeSkip to content
pip documentation v25.1.1
pip documentation v25.1.1

Project

Back to top

pip config

Usage

python-mpipconfig[<file-option>]listpython-mpipconfig[<file-option>][--editor<editor-path>]editpython-mpipconfig[<file-option>]getcommand.optionpython-mpipconfig[<file-option>]setcommand.optionvaluepython-mpipconfig[<file-option>]unsetcommand.optionpython-mpipconfig[<file-option>]debug
py-mpipconfig[<file-option>]listpy-mpipconfig[<file-option>][--editor<editor-path>]editpy-mpipconfig[<file-option>]getcommand.optionpy-mpipconfig[<file-option>]setcommand.optionvaluepy-mpipconfig[<file-option>]unsetcommand.optionpy-mpipconfig[<file-option>]debug

Description

Manage local and global configuration.

Subcommands:

  • list: List the active configuration (or from the file specified)

  • edit: Edit the configuration file in an editor

  • get: Get the value associated with command.option

  • set: Set the command.option=value

  • unset: Unset the value associated with command.option

  • debug: List the configuration files and values defined under them

Configuration keys should be dot separated command and option name,with the special prefix “global” affecting any command. For example,“pip config set global.index-urlhttps://example.org/” would configurethe index url for all commands, but “pip config set download.timeout 10”would configure a 10 second timeout only for “pip download” commands.

If none of --user, --global and --site are passed, a virtualenvironment configuration file is used if one is active and the fileexists. Otherwise, all modifications happen to the user file bydefault.

Options

--editor<editor>

Editor to use to edit the file. Uses VISUAL or EDITOR environment variables if not provided.

(environment variable:PIP_EDITOR)

--global

Use the system-wide configuration file only

(environment variable:PIP_GLOBAL)

--user

Use the user configuration file only

(environment variable:PIP_USER)

--site

Use the current environment configuration file only

(environment variable:PIP_SITE)

On this page

[8]ページ先頭

©2009-2025 Movatter.jp