[Django]-ImportError: No module named django_extensions

52πŸ‘

βœ…

It looks as if your sample project relies on django-extensions. You can install it by activating your virtualenv, then running:

pip install django-extensions

Once you have installed django-extensions, you may get a different import error if there are other packages missing from your virtualenv. Hopefully, your sample project will have a requirements.txt file which lists the requirements. If so, you can install the required packages with:

pip install -r requirements.txt
πŸ‘€Alasdair

Leave a comment