Import issue

10 views
Skip to first unread message

Sophia Iroegbu

unread,
Oct 2, 2021, 3:09:10 AM10/2/21
to django...@googlegroups.com
I noticed that each time I download a python package and import it. 
It imports, it works but once I run my code it runs into an error. 

Error message: ModuleNotFoundError.


What do I do?

Malcolm MacKinnon

unread,
Oct 2, 2021, 4:43:15 AM10/2/21
to django...@googlegroups.com
Is your module included in your installed apps in the settings.py file?
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEa7H7eH_O_Zsi4KXMWbK%2B6pz-VAn8a%3DC6r43FRR0xEt-hrePQ%40mail.gmail.com.

Vineet Kothari

unread,
Oct 2, 2021, 10:47:51 AM10/2/21
to django...@googlegroups.com
Hi,
     Did you check in python manage.py shell then try to import it and check.

Thanks & Regards,
Vineet Kothari 

Sophia Iroegbu

unread,
Oct 2, 2021, 5:32:19 PM10/2/21
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages