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