简体   繁体   English

从 GitHub 下载 requirements.txt

[英]Downloading requirements.txt from GitHub

I trying to download requirements.txt from my repo in GitHub我试图从我在 GitHub 的 repo 下载requirements.txt

I use pip install -e git+https://github.com/GabrielCoutz/Problema-Chiado#egg=requirements.txt and this is returning:我使用pip install -e git+https://github.com/GabrielCoutz/Problema-Chiado#egg=requirements.txt ,这是返回:

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?我如何创建setup.py以及我必须输入的内容?

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

-e is for local installs for developing, for example.例如,-e 用于本地安装以进行开发。 Check this: What is the use case for `pip install -e`?检查这个: `pip install -e`的用例是什么?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM