pythongithubpippackagerequirements.txt

Downloading requirements.txt from GitHub


I trying to download requirements.txt from my repo in GitHub

I use pip install -e git+https://github.com/GabrielCoutz/Problema-Chiado#egg=requirements.txt and this is returning:

ERROR: File "setup.py" not found for legacy project requirements.txt from git+https://github.com/GabrielCoutz/Problema-Chiado#egg=requirements.txt.

How i can create setup.py and what i have to put in?


Solution

  • pip install -r https://raw.githubusercontent.com/GabrielCoutz/Problema-Chiado/main/requirements.txt
    

    -e is for local installs for developing, for example. Check this: What is the use case for `pip install -e`?