简体   繁体   English

无法通过pip安装django-crispy-forms

[英]Unable to install django-crispy-forms via pip

I tried to install django-crispy-forms inside a virtual environment, but what I am getting is this. 我试图在虚拟环境中安装django-crispy-forms,但我得到的是这个。

Collecting django-crispy-forms Could not find a version that satisfies the requirement django-crispy-forms (from versions: ) No matching distribution found for django-crispy-forms 收集django-crispy-forms无法找到满足要求的版本django-crispy-forms(来自版本:)没有找到django-crispy-forms的匹配发行版

I used the following commands: pip install --upgrade django-crispy-forms pip install django-crispy-forms 我使用了以下命令:pip install --upgrade django-crispy-forms pip install django-crispy-forms

Can anyone help me in finding the issue! 任何人都可以帮助我找到问题! Thanks 谢谢

you can install with using repo URL: 您可以使用repo URL安装:

pip install -e git+git://github.com/maraujop/django-crispy-forms.git#egg=django-crispy-forms

and then add in the installed app in the setting: 然后在设置中添加已安装的应用程序:

INSTALLED_APPS = (
    ...
    'crispy_forms',
)

You can refer to this link here 你可以在这里参考这个链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM