django-admin' is not recognized as an internal or external command, operable program or batch file.

Django Sep 12, 2021

django-admin' is not recognized as an internal or external command, operable program, or batch file. This error can be easily fixed by using Python's virtual environment.

Setting up this environment is recommended by Django, and it will fix this error. It will also help you to prevent clashes with Python versions in the future, so a win-win situation.

I placed two posts below that will help you to fix this error. The first post helps you through the process of setting up a Python virtual environment. After having set up Python's virtual environment, you can follow the second post. In the second post, I will go over the Django Installation and help you create your first project, and give you some useful tips.

How to quickly set up a Python virtual environment
Setting up a Python virtual environment is very beneficial and I recommend everyone to do it. In this post, I will show you how to quickly set up a virtual environment for Python and explain to you why it is so valuable. 1. Navigate to the right folder Let’s start
How to install and create your first Django project
In this post, I will show you how to install Django and create your first project. We will be using Python’s virtual environment. This is Django’s recommended way to install Django and at the same time a best practice. Python virtual environment installation By installing Django inside a Python virt…

Tags