B
B
BEKa T2019-06-02 18:44:02
Django
BEKa T, 2019-06-02 18:44:02

Bash: django-admin: command not found?

[email protected]:~/codes/cook$ django-admin startproject engine .
bash: django-admin: команда не найдена

even though I have django installed
[email protected]:~/codes/cook$ python3 -m django --version
2.2.1

I think this is due to the fact that Django is trying to run from python2, and not from python3

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SaM1808, 2019-06-04
@Bread09

Have you tried?
python3 -m django-admin startproject

A
Andrey Kolenkov, 2022-01-31
@adefe

Of course, I understand that the solution to the issue has long been found, but this issue is still in the top of Yandex. So, if the above command doesn't work for you, you can try
python -m django startproject *name*
Runs on Python 3.10.2, Django 4.0.1, ArchLinux

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question