I got my rest_framework installed but when I add 'rest_framework' to my INSTALLED_APPS I got the next error in my error.log.
2018-04-25 19:11:43,793: Error running WSGI application
2018-04-25 19:11:43,794: ModuleNotFoundError: No module named 'rest_framework'
2018-04-25 19:11:43,794: File "/var/www/kambo_pythonanywhere_com_wsgi.py", line 25, in <module>
2018-04-25 19:11:43,794: application = get_wsgi_application()
2018-04-25 19:11:43,794:
2018-04-25 19:11:43,794: File "/usr/local/lib/python3.6/dist-packages/django/core/wsgi.py", line 13, in get_wsgi_application
2018-04-25 19:11:43,795: django.setup(set_prefix=False)
2018-04-25 19:11:43,795:
2018-04-25 19:11:43,795: File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 27, in setup
2018-04-25 19:11:43,795: apps.populate(settings.INSTALLED_APPS)
2018-04-25 19:11:43,795:
2018-04-25 19:11:43,795: File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 85, in populate
2018-04-25 19:11:43,795: app_config = AppConfig.create(entry)
2018-04-25 19:11:43,796:
2018-04-25 19:11:43,796: File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 94, in create
2018-04-25 19:11:43,796: module = import_module(entry)
A similar problem happens when I try to import the rest_framework from my urls.py, but in the other hand when I import rest_framework with IPython -> "python manage.py shell" it works fine.
Any clue to solve this?
Thanks
[edit by admin: formatting]