# Django "not recognized as external or internal command"

**URL:** <https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535>\
**Category:** Getting Started\
**Created:** [May 20, 2020, 2:25pm UTC](https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535 "2020-05-20T14:25:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![markracho](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@markracho](https://forum.djangoproject.com/u/markracho)\
**Post date:** [May 20, 2020, 2:25pm UTC](https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535/1 "2020-05-20T14:25:50Z")

</div>

Hi Good day to all,  
I would like someone can redirect me on how to use django. I am new at Django and hopefully you could teach me and advice me on how to do things…  
I’m trying to do the django tutorial ([Writing your first Django app, part 1 | Django documentation | Django](https://docs.djangoproject.com/en/3.0/intro/tutorial01/))  
upon following the instructions I got this error message  
“‘django-admin’ is not recognized as an internal or external command,  
operable program or batch file.”  
I’m using Windows 10 OS., I also try the following this site-

1. [command "django-admin.py startproject mysite" not recognized - Stack Overflow](https://stackoverflow.com/questions/17769430/command-django-admin-py-startproject-mysite-not-recognized)  
and is not working on my side…

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [May 20, 2020, 3:09pm UTC](https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535/2 "2020-05-20T15:09:15Z")

</div>

Start with: [https://docs.djangoproject.com/en/3.0/howto/windows/](https://docs.djangoproject.com/en/3.0/howto/windows/)

That stackoverflow question (and answers) are seriously out-of-date. That’s something you need to be aware of whenever looking at answers - if the answer predates the current versions of whatever software you’re looking at, it’s possibly wrong. And for something evolving as steadily as Python and Django, it’s likely to be dangerously wrong.

Ken

---

<div class="post-metadata">

**Author:** ![markracho](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@markracho](https://forum.djangoproject.com/u/markracho)\
**Post date:** [May 21, 2020, 4:13am UTC](https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535/3 "2020-05-21T04:13:15Z")

</div>

Hi sir KenWhitesell,  
Thank you very much for the information.  
Now I’m able to follow the django tutorial  
Thank a lot 😄

---

<div class="post-metadata">

**Author:** ![stevenmw94](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/stevenmw94/32/3065_2.png) [@stevenmw94](https://forum.djangoproject.com/u/stevenmw94)\
**Post date:** [January 8, 2021, 8:32pm UTC](https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535/4 "2021-01-08T20:32:58Z")

</div>

Hello @KenWhitesell ,  
I reviewed and I have the installed django. When I try “pip install Django” I receive a bunch of “Requirement already satisfied” but once I try anything with “django-admin” I received the error above. Any other ideas?

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [January 8, 2021, 9:42pm UTC](https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535/5 "2021-01-08T21:42:53Z")

</div>

Assuming:

- You’re working from the instructions at [How to install Django on Windows | Django documentation | Django](https://docs.djangoproject.com/en/3.0/howto/windows/),
- You’ve got your virtual environment working, such that it shows your virtual environment name from the command prompt,
- You’ve done your Django installation while in that virtual machine

Then you may want to just check to see where the django-admin file _is_ within your virtual environment and verify that those paths are in your PATH environment variable. At that point, it isn’t a Django issue, it’s a general Windows configuration / path issue.

---

<div class="post-metadata">

**Author:** ![wnesbv69](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/wnesbv69/32/2906_2.png) [@wnesbv69](https://forum.djangoproject.com/u/wnesbv69)\
**Post date:** [January 9, 2021, 12:11pm UTC](https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535/6 "2021-01-09T12:11:09Z")

</div>

django-admin = ну, не пашет на w10 ()…  
как = выход - Sublime Text 3 и [Sublime-Django-Starter](https://github.com/geekpradd/Sublime-Django-Starter)  
или - им подобное

---

<div class="post-metadata">

**Author:** ![wnesbv69](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/wnesbv69/32/2906_2.png) [@wnesbv69](https://forum.djangoproject.com/u/wnesbv69)\
**Post date:** [January 9, 2021, 12:17pm UTC](https://forum.djangoproject.com/t/django-not-recognized-as-external-or-internal-command/2535/7 "2021-01-09T12:17:47Z")

</div>

то, что в системе настроено на файлы (.py) = то и будет с (django-admin) = работать… и , оставите в покое (переменные PATH)
