help

72 views
Skip to first unread message

Planet X

unread,
Oct 25, 2021, 3:59:04 PM10/25/21
to Django users
hey there i can not figure out while django is installed to but its showing django-admin is not recongnized as an internal or external command please help

Aashish Kumar

unread,
Oct 25, 2021, 4:22:15 PM10/25/21
to django...@googlegroups.com
Yes Django is not installed 

On Tue, 26 Oct 2021 at 1:29 AM, Planet X <plane...@gmail.com> wrote:
hey there i can not figure out while django is installed to but its showing django-admin is not recongnized as an internal or external command please help

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0261503c-4384-46a1-aa30-b37e53713abfn%40googlegroups.com.

Lakshyaraj Dash X-D 25

unread,
Oct 25, 2021, 6:59:07 PM10/25/21
to django...@googlegroups.com
First do one thing that try uninstalling django. If it doesn't work, then run python -m pip install django

On Tue, Oct 26, 2021, 01:29 Planet X <plane...@gmail.com> wrote:
hey there i can not figure out while django is installed to but its showing django-admin is not recongnized as an internal or external command please help

Kasper Laudrup

unread,
Oct 26, 2021, 6:15:45 AM10/26/21
to django...@googlegroups.com
How did you install Django? What OS are you using?

A bit of information like that would make it much easier for someone to
help you.

Kind regards,

Kasper Laudrup

Mohammad Naebi

unread,
Oct 26, 2021, 8:47:31 AM10/26/21
to django...@googlegroups.com

Hi
Enter the virtual environment first
Write the following command in your terminal or shell
pip freeze 
All the modules you have installed will be shown to you along with the version.

machine learning

unread,
Oct 26, 2021, 8:47:32 AM10/26/21
to django...@googlegroups.com
Uninstall it and install it again.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

Boateng Isaac

unread,
Oct 26, 2021, 8:47:33 AM10/26/21
to django...@googlegroups.com
If you're using a virtual environment try installing django in that environment again 

On Mon, 25 Oct 2021, 7:59 pm Planet X, <plane...@gmail.com> wrote:
hey there i can not figure out while django is installed to but its showing django-admin is not recongnized as an internal or external command please help

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

Kasper Laudrup

unread,
Oct 26, 2021, 9:11:44 AM10/26/21
to django...@googlegroups.com
On 26/10/2021 13.53, machine learning wrote:
> Uninstall it and install it again.
>

What?

I think you're replying to the wrong person, but what do you think
uninstalling and reinstalling would achieve?

Kind regards,

Kasper Laudrup

Luigi Cleffi

unread,
Oct 26, 2021, 9:32:25 AM10/26/21
to django...@googlegroups.com
First of all you need to activate your virtual envirolment before installing python on your machine. To do that you need to run on your cmd ou terminal.:"python3 -m venv env && cd env\scripts\activate" than you install django with The following code: "pip install django". To make sure that django is install now you need to run " pipoca freeze > requirements.txt". If you have any questions Just let me know. I'll see what I can do to help.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

Akash Verma

unread,
Oct 26, 2021, 10:47:19 AM10/26/21
to django...@googlegroups.com
Use python -m django-admin startproject <your_app_name>

waqar khan

unread,
Oct 27, 2021, 1:51:36 AM10/27/21
to django...@googlegroups.com
pip uninstall django



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

Anil Felipe Duggirala

unread,
Nov 1, 2021, 9:39:13 AM11/1/21
to django...@googlegroups.com
On Wed, Oct 27, 2021, at 12:50 AM, waqar khan wrote:
> pip uninstall django

Your answer is not worth the electricity it is written on Waqar.

Indrajeet Singh Yadav

unread,
Nov 2, 2021, 8:07:57 AM11/2/21
to Django users
Hi,
Follow these steps:-
1. Check i.e. trace back where exactly did u install python.
2. Trace where you installed django. to do that run this code on python path, pip freeze or pip freeze > requirements.txt(makes a requirements file good for future use), it gives all the install modules in python this will let you know if django is there or not.
3. If django not install install using pip.

If these steps fail then that means that you are trying to make a project in a terminal while a virtual environment is running.
2021-11-02.png
You see that start (myvenv) That tell you that the virtual environment is running.
So here basically you do this, in this terminal you run pip install django

I hope this helps

Reply all
Reply to author
Forward
0 new messages