close

[Solved] Import: No module named crispy-forms

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Import: No module named crispy-forms in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Import: No module named crispy-forms Error Occurs?

Today I get the following error Import: No module named crispy-forms in python.

How To Solve Import: No module named crispy-forms Error ?

  1. How To Solve Import: No module named crispy-forms Error ?

    To Solve Import: No module named crispy-forms Error Ok, so I found by chance(almost) another post, this one: Getting stuck at Django error: No module named registration

  2. Import: No module named crispy-forms

    To Solve Import: No module named crispy-forms Error Ok, so I found by chance(almost) another post, this one: Getting stuck at Django error: No module named registration

Solution 1

Ok, so I found by chance(almost) another post, this one: Getting stuck at Django error: No module named registration

and thought it might have something to do with pythonpath.

so then I tried easy_install, like suggested:

 $ easy_install -Z django-crispy-forms
    Searching for django-crispy-forms
    Best match: django-crispy-forms 1.4.0
    Adding django-crispy-forms 1.4.0 to easy-install.pth file

    Using /home/nr1/Envs/abc/lib/python2.7/site-packages
    Processing dependencies for django-crispy-forms
    Finished processing dependencies for django-crispy-forms

Now it works! I still think there might be something missing with the pythonpath, because I keep getting this in eclipse:

SignUpView Found at: __module_not_in_the_pythonpath__

, and I would like someone to clarify it, so feel free to contribute here…

but django and crispy_forms now works together. YippikayeyMF!!

Solution 2

I solved this problem right now, I realized that the crispy-form installed version was the python 2.7 version, but I’m using Django-1.10 with Python 3.5, and I think this is your problem too.

Try: pip3 install --user django-crispy-forms

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read