Search code examples
pythondjangopython-3.xpipdjango-rest-framework

Django Rest Framework -- no module named rest_framework


I've installed django rest framework using pip install djangorestframework yet I still get this error when I run "python3 manage.py sycndb":

ImportError: No module named 'rest_framework'

I'm using python3, is this my issue?


Solution

  • You need to install django rest framework using pip3 (pip for python 3):

    pip3 install djangorestframework
    

    Instructions on how to install pip3 can be found here