Forums

Django rest framework is not installed!

Hi, I am trying hard to get my test website up. My site contains Django Rest Framework and is also added in the settings.py file under the installed apps section.

I installed using the requirements.txt file, it shows installed at the end, but no luck. I tried installing manually, shows installed at the end, but error again when starting the web.

it shows an error: Error running WSGI application ModuleNotFoundError: No module named 'rest_framework'

Make sure that you're installing it into the version of Python/virtualenv that you are using for your web app: https://help.pythonanywhere.com/pages/InstallingNewModules/