Advertisement

[SOLVED]: zsh: command not found: django-admin

 

Faced an Unexpected error while creating the Django Project as follows:

 

'

step1: PASTE this command in terminal:

        find / -name django-admin

This command will help you  to locate the django-admin in your computer and then

In my case the output was:

 /home/amanthakur/.local/bin/django-admin 

step2: run the command 

       /home/<your-computer-name>/.local/bin/django-admin startproject <Project-name>

       In my case your-computer-name = 'amanthakur'

Post a Comment

0 Comments