0

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
  • Installing only `requirements.txt` does not make any sense. Please explain **in details** what you are trying to do! – Klaus D. Jul 12 '21 at 14:47
  • @KlausD. i just want to install some packages in this txt, i still learning (clearly) how to use ```GitHub``` and things about ```install packages```, i already solve my problem =) –  Jul 12 '21 at 15:12

1 Answers1

1
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`?

Yuri
  • 511
  • 3
  • 6
  • 1
    it should be `pip install -r https://raw.githubusercontent.com/GabrielCoutz/Problema-Chiado/main/requirements.txt ` – Lesnek Jul 12 '21 at 14:48
  • It worked =D but a warning appears ```WARNING: Cache entry deserialization failed, entry ignored``` should i worry? –  Jul 12 '21 at 14:51
  • 1
    maybe a network issue, if persist rm -rf ~/.cache/pip (from https://stackoverflow.com/questions/49671215/cache-entry-deserialization-failed-entry-ignored ) – Yuri Jul 12 '21 at 14:52
  • Ok, i will see more about this later, but for now, thanks bro <3333 –  Jul 12 '21 at 14:53