Django Rest Framework — no module named rest_framework

后端 未结 21 815
夕颜
夕颜 2021-02-01 00:23

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

21条回答
  •  日久生厌
    2021-02-01 00:47

    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

提交回复
热议问题