[Python] "bash: django-admin: command not found" after running django-admin

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

  1. Stack

    Stack Membro Participativo

    I had similar problems with pip that was fixed with "python3 -m" but now after install Django I want to make a new project.

    When I try to run "django-admin startproject ..." I get "bash: django-admin: command not found".

    I don't know if I should mention it but, this is in a virtualenv.

    python3 -m pip freeze: Django==3.0.6

    echo $PATH: /home/alatimer/Environments/DjangoTutoria_env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

    Continue reading...

Compartilhe esta Página