简体   繁体   中英

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.

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

I used the following commands: 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:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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