You can solve this error by installing django-extensions 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, you have a requirements.txt file which lists the requirements. If so, you can install the required packages with:
pip install -r requirements.txt
Hope this helps!