Django Rest Framework — no module named rest_framework

后端 未结 21 792
夕颜
夕颜 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:51

    rest_framework module

    Try pressing the icon given if you are getting the following error:

    "ModuleNotFoundError: No module named 'rest_framework'"

    It will ask you to import the given package, that is rest_framework and run the code again.

    This worked for me and trying to solve that error for a couple of days.

提交回复
热议问题