使用pip安装时发生错误:“找不到满足< package-name>要求的版本" [英] Error when using pip install: "Could not find a version that satisfies the requirement <package-name>"
问题描述
我正在尝试安装django-trumbowyg
https://github.com/sandino/django- trumbowyg 到我的应用
I'm trying to install django-trumbowyg
https://github.com/sandino/django-trumbowyg to my app
当我执行pip install django-trumbowyg
时,它返回此错误:
When I did pip install django-trumbowyg
, it returned this error:
Could not find a version that satisfies the requirement django-trumbowyg (from versions: )
No matching distribution found for django-trumbowyg
有人知道这意味着什么吗?以及我该如何解决?
Does anyone know what this means? And how I can fix it?
推荐答案
如果您的公司防火墙不允许来自外部来源的任何程序包,也可能会出现此错误.在这种情况下,您可能需要添加代理.
You may also get this error if your company firewall doesnt allow any package from external source. you might need to add a proxy in that case.
例如:pip install django-trumbowyg --proxy = proxy.companydomain.com:
for example: pip install django-trumbowyg --proxy=proxy.companydomain.com:
这篇关于使用pip安装时发生错误:“找不到满足< package-name>要求的版本"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!