Question
Asked By – tryingtolearn
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?
Now we will see solution for issue: Django Rest Framework — no module named rest_framework
Answer
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
This question is answered By – Vingtoft
This answer is collected from stackoverflow and reviewed by FixPython community admins, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0