差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
python:pip [2020/01/31 05:46] – ともやん | python:pip [2021/05/13 00:58] – [venv などの環境を複製] ともやん | ||
---|---|---|---|
行 33: | 行 33: | ||
$ pip uninstall -r pkglist.txt -y</ | $ pip uninstall -r pkglist.txt -y</ | ||
|< | |< | ||
+ | </ | ||
+ | |||
+ | ===== pip のヘルプ ===== | ||
+ | <WRAP prewrap 100%> | ||
+ | < | ||
+ | $ pip -h | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% # | ||
+ | < | ||
+ | |||
+ | Usage: | ||
+ | pip < | ||
+ | |||
+ | Commands: | ||
+ | install | ||
+ | download | ||
+ | uninstall | ||
+ | freeze | ||
+ | list List installed packages. | ||
+ | show Show information about installed packages. | ||
+ | check | ||
+ | config | ||
+ | search | ||
+ | wheel Build wheels from your requirements. | ||
+ | hash Compute hashes of package archives. | ||
+ | completion | ||
+ | help Show help for commands. | ||
+ | |||
+ | General Options: | ||
+ | -h, --help | ||
+ | --isolated | ||
+ | configuration. | ||
+ | -v, --verbose | ||
+ | -V, --version | ||
+ | -q, --quiet | ||
+ | (corresponding to WARNING, ERROR, and CRITICAL logging levels). | ||
+ | --log < | ||
+ | --proxy < | ||
+ | --retries < | ||
+ | times). | ||
+ | --timeout < | ||
+ | --exists-action < | ||
+ | (w)ipe, (b)ackup, (a)bort). | ||
+ | --trusted-host < | ||
+ | HTTPS. | ||
+ | --cert < | ||
+ | --client-cert < | ||
+ | key and the certificate in PEM format. | ||
+ | --cache-dir < | ||
+ | --no-cache-dir | ||
+ | --disable-pip-version-check | ||
+ | Don't periodically check PyPI to determine whether a new version of | ||
+ | pip is available for download. Implied with --no-index. | ||
+ | --no-color | ||
+ | </ | ||
</ | </ | ||
行 64: | 行 120: | ||
$ pip install -r pkglist.txt | $ pip install -r pkglist.txt | ||
</ | </ | ||
+ | |||
+ | ===== パッケージのインストールパスを調べる ===== | ||
+ | <WRAP prewrap 100%> | ||
+ | < | ||
+ | $ pip show mercurial | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP prewrap 100% #result> | ||
+ | < | ||
+ | Name: mercurial | ||
+ | Version: 5.6.1 | ||
+ | Summary: Fast scalable distributed SCM (revision control, version control) system | ||
+ | Home-page: https:// | ||
+ | Author: Matt Mackall and many others | ||
+ | Author-email: | ||
+ | License: GNU GPLv2 or any later version | ||
+ | Location: / | ||
+ | Requires: | ||
+ | Required-by: | ||
+ | </ | ||
+ | </ | ||
===== pip のダウンロードキャッシュ ===== | ===== pip のダウンロードキャッシュ ===== |