[Python] Getting error ModuleNotFoundError: No module named 'rest_framework_sso'

Discussão em 'Python' iniciado por Stack, Abril 6, 2025.

  1. Stack

    Stack Membro Participativo

    I am following https://pypi.org/project/djangorestframework-sso/ tutorial for sso authentication in django, In first step they added 'rest_framework_sso' in INSTALLED_APPSin settings.py without installing any such library. When I tried to do the same I got:


    ModuleNotFoundError: No module named 'rest_framework_sso'
    ​

    Then I tried pip/pip3 install 'rest_framework_sso' but I got:


    ERROR: Could not find a version that satisfies the requirement rest_framework_sso (from versions: none)
    ERROR: No matching distribution found for rest_framework_sso
    ​

    Then I installed django rest framework but it still is not working.

    I want to know why is it not working and how can I solve this, I didn't find anything that can help me related to this.

    Continue reading...

Compartilhe esta Página