django-admin comman...
 
Notifications
Clear all

django-admin command not found

6 Posts
2 Users
0 Reactions
7 Views
0
Topic starter

I have tried to run the "django-admin startproject name . " but its not working . I am using windows with visual studio . Am i missing something?

1 Answer
0

Hi Simone Maclean,

The issue you are facing might occur if Django is not installed properly. You can check your Django version by running this command:

python -m django --version

Also, run the following command to confirm that django-admin is accessible:

django-admin --version

If you encounter any issues or errors after running these commands, it could indicate that Django is not installed properly. In that case, you should reinstall Django correctly. If you are unable to resolve the issue, please share a screenshot of the error so we can assist you further.

d001b2e6a24b3e0dd3c768cc0a17d2f8?s=36&d=mm&r=g rathank.com Simone Maclean Topic starter 28/01/2025 3:20 pm
d001b2e6a24b3e0dd3c768cc0a17d2f8?s=36&d=mm&r=g rathank.com Simone Maclean Topic starter 28/01/2025 3:21 pm

@mohaiminul-islam I did not encounter any error when i run all commands suggested by you however i tried the startproject command again and this is what i got

d001b2e6a24b3e0dd3c768cc0a17d2f8?s=36&d=mm&r=g rathank.com Simone Maclean Topic starter 28/01/2025 3:23 pm

@mohaiminul-islam its saying python cannot open the file

Share: