django-admin comman...
 
Notifications
Clear all

django-admin command not found

6 Posts
2 Users
0 Reactions
95 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.

93909018c72d1e71ffcc93123bae5f12a9e74a344d309899e0febe28101b8afd?s=36&d=mm&r=g rathank.com Simone Maclean Topic starter 28/01/2025 3:20 pm
93909018c72d1e71ffcc93123bae5f12a9e74a344d309899e0febe28101b8afd?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

93909018c72d1e71ffcc93123bae5f12a9e74a344d309899e0febe28101b8afd?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: