Difference between revisions of "Requirements.txt"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(25 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | * <code>[[install -Ur]] requirements.txt</code> | ||
− | * <code>[[ | + | * <code>[[pip install]] -r, --requirement <file></code> |
− | * <code>[[ | + | * <code>[[pip install -r requirements.txt]]</code> |
+ | * <code>[[pip freeze]] > requirements.txt</code> | ||
+ | |||
+ | |||
+ | [[RUN]] pip install --trusted-host pypi.python.org -r requirements.txt | ||
− | |||
+ | == Examples == | ||
− | + | .../... | |
+ | -f https://download.pytorch.org/whl/cpu/torch_stable.html | ||
+ | .../... | ||
== Related == | == Related == | ||
− | * <code>[[pip | + | * <code>[[pip list]]</code> |
+ | * <code>[[pip install]] .</code> | ||
+ | * <code>[[pip install -r requirements.txt]]</code> | ||
+ | * <code>[[ModuleNotFoundError: No module named]]</code> | ||
+ | * [[asdf]]: [[.tools-version]] | ||
+ | * <code>[[composer.json]]</code> | ||
+ | * <code>[[package.json]]</code> | ||
+ | * <code>[[safety check]]</code> | ||
+ | * Ansible: [[requirements.yml]] | ||
+ | * <code>[[Pipfile]]</code> | ||
== See also == | == See also == | ||
+ | * {{wheel}} | ||
+ | * {{pip install}} | ||
* {{PIP}} | * {{PIP}} | ||
− | |||
[[Category:Python]] | [[Category:Python]] |
Latest revision as of 19:51, 11 December 2023
install -Ur requirements.txt
pip install -r, --requirement <file>
pip freeze > requirements.txt
RUN pip install --trusted-host pypi.python.org -r requirements.txt
Examples[edit]
.../... -f https://download.pytorch.org/whl/cpu/torch_stable.html .../...
Related[edit]
pip list
pip install .
pip install -r requirements.txt
ModuleNotFoundError: No module named
- asdf: .tools-version
composer.json
package.json
safety check
- Ansible: requirements.yml
Pipfile
See also[edit]
- wheel,
bdist_wheel
, ERROR: Failed building wheel for, Building wheels for pip install, pip3 install, requirements.txt
- PIP: [
pipx, pip, pip3
|install | install --upgrade
|list
|show
|uninstall
|search
|install cryptography | --version
|help
, PIP changelog,pipdeptree
,install -r requirements.txt
]
Advertising: