错误:“无法找到满足要求<包名>版本”
问题描述:
我试图安装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的二进制包。
所以,你必须直接从官方来源as pointed out by Rishav安装包。
然后请开发人员上传一个源包到PyPI和/或构建轮子universal。
该软件包仅适用于Python2,你在Python3上吗? – Rishav
是的,我在python3上。我更新了我的编辑链接,不知道它是否是相同的包,但我已经通过了一些代码(如urls.py),它似乎是python3。 – Zorgan
您可以尝试通过执行以下操作绕过PyPI手动安装它:'pip install git + https:// github.com/sandino/django-trumbowyg'。 – Rishav