Difference between revisions of "Requirements.txt"
Jump to navigation
Jump to search
(7 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
* <code>[[pip install]] -r, --requirement <file></code> | * <code>[[pip install]] -r, --requirement <file></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 == | == Examples == | ||
Line 12: | Line 20: | ||
== Related == | == Related == | ||
− | |||
* <code>[[pip list]]</code> | * <code>[[pip list]]</code> | ||
* <code>[[pip install]] .</code> | * <code>[[pip install]] .</code> | ||
Line 18: | Line 25: | ||
* <code>[[ModuleNotFoundError: No module named]]</code> | * <code>[[ModuleNotFoundError: No module named]]</code> | ||
* [[asdf]]: [[.tools-version]] | * [[asdf]]: [[.tools-version]] | ||
− | * [[composer.json]] | + | * <code>[[composer.json]]</code> |
+ | * <code>[[package.json]]</code> | ||
* <code>[[safety check]]</code> | * <code>[[safety check]]</code> | ||
* Ansible: [[requirements.yml]] | * Ansible: [[requirements.yml]] | ||
+ | * <code>[[Pipfile]]</code> | ||
== See also == | == See also == |
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: