Django Rest Framework -- no module named rest_framework

tryingtolearn picture tryingtolearn · Oct 23, 2015 · Viewed 127.4k times · Source

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?

Answer

Vingtoft picture Vingtoft · Oct 23, 2015

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