About 137,000 results
Open links in new tab
  1. python - Automatically create file 'requirements.txt' - Stack Overflow

    Sometimes I download the Python source code from GitHub and don't know how to install all the dependencies. If there isn't any requirements.txt file I have to create it by hand. Given the Python so...

  2. python - How to create a requirements.txt? - Stack Overflow

    Apr 29, 2015 · I'm wondering how I can create a suitable requirements.txt for my Python 3 application?

  3. pip's requirements.txt best practice - Stack Overflow

    The pip-compile command lets you compile a requirements.txt file from your dependencies, specified in either setup.py or requirements.in Here's my recommended steps in constructing your …

  4. From conda create requirements.txt for pip3 - Stack Overflow

    Jun 10, 2018 · From conda create requirements.txt for pip3 Asked 7 years, 6 months ago Modified 4 months ago Viewed 423k times

  5. How to update requirements.txt file using uv - Stack Overflow

    Nov 14, 2024 · I'm using uv to manage my Python environment locally, but my production site still uses pip. So when I update packages locally (from pyproject.toml, updating the uv.lock file) I also need to …

  6. python 3.x - How should I generate requirements.txt? Pip Freeze not a ...

    May 21, 2015 · How should I generate requirements.txt for Python projects? Here is the problem I am having with pip freeze. Suppose my package P requires A, B, C. Suppose C is a library that imports …

  7. How to add a requirement.txt in my project python

    Nov 27, 2022 · 2 In fact When I do pip freeze > requirements.txt to put all the packages that I use in my project in a requirements.txt, it puts all python packages that I have in my pc and this despite I have …

  8. python - Is there any way to output requirements.txt automatically ...

    Apr 18, 2015 · I want to output the requirements.txt for my Python 3 project in PyCharm. Any ideas?

  9. python - Combining conda environment.yml with pip requirements.txt ...

    conda env create -f environment.yml does not include pip packages installed using local code such as pip install -e ., but the requirements.txt file generated using pip has these packages included. So I …

  10. python - How to use pipreqs to create requirements.txt file - Stack ...

    Sep 12, 2019 · I am trying to use pipreqs to create the requirements.txt file. Reading the documentation, pipreqs is supposed to scan a python file for import statements and build the requirements.txt …