# django import error:could not import django

**URL:** <https://forum.djangoproject.com/t/django-import-error-could-not-import-django/21675>\
**Category:** Mystery Errors\
**Created:** [June 17, 2023, 7:50am UTC](https://forum.djangoproject.com/t/django-import-error-could-not-import-django/21675 "2023-06-17T07:50:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hridya-Vasudev](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/hridya-vasudev/32/14282_2.png) [@Hridya-Vasudev](https://forum.djangoproject.com/u/Hridya-Vasudev)\
**Post date:** [June 17, 2023, 7:50am UTC](https://forum.djangoproject.com/t/django-import-error-could-not-import-django/21675/1 "2023-06-17T07:50:40Z")

</div>

when i run python manage.py runserver it shows import error. but it was working before. suddenly i got this error.

 ![Screenshot (67)](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/2X/c/c52a78af936f0b26491a83ec1353f1db18e74b59.png)

---

<div class="post-metadata">

**Author:** ![Rigo-Villalta](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/rigo-villalta/32/5667_2.png) [@Rigo-Villalta](https://forum.djangoproject.com/u/Rigo-Villalta)\
**Post date:** [June 18, 2023, 5:00pm UTC](https://forum.djangoproject.com/t/django-import-error-could-not-import-django/21675/2 "2023-06-18T17:00:57Z")

</div>

Don´t post images of the code. They don’t look good in mobile device.

About your question, I think you are using a Python Virtual Environment, you have to activate it in order to work with the packages you have already installed.
