Django Rest Framework — no module named rest_framework

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

    First installing the framework globally on the system solved my problem.

    machine@debian:/$ sudo pip install djangorestframework
    or;
    root@debian:/# pip install djangorestframework
    

提交回复
热议问题