Django Rest Framework — no module named rest_framework

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

    If you're using some sort of virtual environment do this!

    1. Exit from your virtual environment.

    2. Activate your virtual environment.

    After you've done this you can try running your command again and this time it probably won't have any ImportErrors.

提交回复
热议问题