I installed pip3, installed Django-widget-tweaks and add widget_tweaks in INSTALLED_APPS[] in settings.py.
When I run the server, I'm getting the error:
-ImportError: No module named 'widget_tweaks'
It is possible that the pip3
script has installed django-widget-tweaks into a different version of Python than the one you're using to run Django. You may have multiple versions of Python 3 installed on your machine.
Try installing django-widget-tweaks using the same version of Python that you're using to run Django:
/path/to/python -m pip install django-widget-tweaks
Obviously make sure /path/to/python
is the version you're using to start the Django server.
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