No module named 'rest_framework.decorators' code example Example: ModuleNotFoundError: No module named 'rest_framework' pip3 install djangorestframework