![](/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.