I've used the following tutorial. I used the command
pip install django-import-export
, then added to the Installed Apps section.
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'import_export',
'frontend',
'userauth',
'methods',
]
When I run python manage.py collectstatic
I get error ModuleNotFoundError: No module named 'import_export'
Install the import_export module by writing this command in command prompt
pip install --user django-import_export
or use
pip install django-import_export
I guess you used virtual environment to develop some parts of your project (maybe accidentally) and then you switched it off.
Try to reinstall the modules with your virtual environment activated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With