[英]Pip install binary and preserve requirements.txt
我正在制作一个依赖于spacy
的Python包。 Spacy与二进制语言模型一起使用。 因此,在我的requirements.txt
末尾列出了这些网址
https://github.com/explosion/spacy-models/releases/download/es_core_news_sm-2.0.0/es_core_news_sm-2.0.0.tar.gz#egg=spacy-english-model
但是,如果freeze
环境,则该软件包不会与下载URL一起出现:
spacy-english-model==2.0.0
因此,如果我添加了一个程序包,我将无法pip install
它,然后pip freeze
。 如何在requirements.txt
指定包,以便在freeze
时显示其URL?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.