![](/img/trans.png)
[英]pip install producing “Could not find a version that satisfies the requirement”
[英]Error when using pip install: “Could not find a version that satisfies the requirement <package-name>”
我正在尝试将django-trumbowyg
https://github.com/sandino/django-trumbowyg安装到我的应用程序
当我执行pip install django-trumbowyg
,它返回了这个错误:
Could not find a version that satisfies the requirement django-trumbowyg (from versions: )
No matching distribution found for django-trumbowyg
有谁知道这是什么意思? 我该如何解决?
正如https://pypi.python.org/pypi/django-trumbowyg#downloads所示,PyPI 上只有 Python2 的二进制包。
因此,您必须同时直接从官方来源安装软件包, 正如 Rishav 所指出的那样。
然后要求开发人员将源包上传到 PyPI 和/或将轮子构建为通用。
如果您的公司防火墙不允许来自外部来源的任何包,您也可能会收到此错误。 在这种情况下,您可能需要添加代理。
例如:pip install django-trumbowyg --proxy=proxy.companydomain.com:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.