About 52 results
Open links in new tab
  1. python - How can I install packages using pip according to the ...

    When I want to upgrade a package (e.g. Django), I change the version in my requirements.txt file and then run pip install -r /path/to/requirements.txt. This detects the change, upgrades the package, and …

  2. python - How to install from requirements.txt - Stack Overflow

    Apr 1, 2021 · I have to install python packages from requirements files that's provided to me. However, when I use pip install -r requirements.txt command I get an error saying ERROR: Invalid requirement …

  3. python - How to install packages offline? - Stack Overflow

    What's the best way to download a python package and its dependencies from pypi for offline installation on another machine? Is there any easy way to do this with pip or easy_install? I'm trying to

  4. What does " -r " do in pip install -r requirements.txt

    Jun 28, 2016 · pip install -r requirements.txt What does the -r do though? I can't find an answer for this and it isn't listed when I run pip help.

  5. Download dependencies declared in pyproject.toml using Pip

    Jun 16, 2020 · How can I download packages (dependencies) required by this Python project and declared in pyproject.toml using the Pip package manager (instead of the build tool Poetry).

  6. python - pip install -r requirements.txt [Errno 2] No such file or ...

    Oct 21, 2017 · But when I try to run the command pip install -r requirements.txt in the project directory I get this error: [Errno 2] No such file or directory: 'requirements.txt' I believe I'm just running it in the …

  7. python - use a relative path in requirements.txt to install a tar.gz ...

    We're using a requirements.txt file to store all the external modules needed. Every module but one is gathered from internet. The other one is stored on a folder under the one holding the requireme...

  8. Install local wheel file with requirements.txt - Stack Overflow

    Install local wheel file with requirements.txt Asked 5 years, 6 months ago Modified 7 months ago Viewed 73k times

  9. python - How to pip install a package with min and max version range ...

    I'm wondering if there's any way to tell pip, specifically in a requirements file, to install a package with both a minimum version (pip install package>=0.2) and ...

  10. python - pip install -r requirements.txt is failing: "This environment ...

    Mar 1, 2023 · This is due to your distribution adopting PEP 668 – Marking Python base environments as “externally managed”. TL;DR: Use a venv: python3 -m venv .venv source .venv/bin/activate python3 …