'ModuleNotFoundError: No module named 'taggit'
I used pip install to install django taggit, I am confirming that is there with pip freeze I am including taggit on installed apps and when I want to do the migrations it gives me this error ModuleNotFoundError: No module named 'taggit', I used pip freeze to confirm that is installed and is installed, I added it to installed_apps and is there as well
I tried to uninstall/ install try different versions and is not working it gives me always same error ModuleNotFoundError: No module named 'taggit', even though is installed on installed apps and I confirmed with pip freeze that is on the directory, any ideas?
Solution 1:[1]
You have to install it with this command
pip install django-taggit
Then add to your setting. bellow is what it should look like in settings.
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'taggit',
]
here is a link to a video with more info about taggit https://www.youtube.com/watch?v=dZywiX-Glu4
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ethan Koch |
