New to Django

30 views
Skip to first unread message

elddi...@gmail.com

unread,
Dec 15, 2018, 12:54:32 PM12/15/18
to Django users
Hello - I'm trying to get Django up and running and I'm having some likely trivial trouble. I'm following the "Writing your first Django app" tutorial, but I'm getting stuck trying to create the project using 'django-admin startproject mysite'. The output says command not found. I've tried troubleshooting but haven't had any luck so far. Any assistance is much appreciated.

Gene LaRose

unread,
Dec 15, 2018, 1:02:07 PM12/15/18
to django...@googlegroups.com
Have you installed a new environment and django?

On Sat, Dec 15, 2018, 12:53 PM <elddi...@gmail.com wrote:
Hello - I'm trying to get Django up and running and I'm having some likely trivial trouble. I'm following the "Writing your first Django app" tutorial, but I'm getting stuck trying to create the project using 'django-admin startproject mysite'. The output says command not found. I've tried troubleshooting but haven't had any luck so far. Any assistance is much appreciated.

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b2057d6f-270c-4916-bf6d-da1cbf4e7c87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Okware Aldo

unread,
Dec 16, 2018, 5:47:23 AM12/16/18
to django...@googlegroups.com
I can remotely help, provide access me with remote access or push code github

On Sat, 15 Dec 2018, 20:54 <elddi...@gmail.com wrote:
Hello - I'm trying to get Django up and running and I'm having some likely trivial trouble. I'm following the "Writing your first Django app" tutorial, but I'm getting stuck trying to create the project using 'django-admin startproject mysite'. The output says command not found. I've tried troubleshooting but haven't had any luck so far. Any assistance is much appreciated.

--

tom riddle

unread,
Dec 16, 2018, 10:07:12 AM12/16/18
to django...@googlegroups.com
Thanks for the responses. I was able to figure this out - I believe my issue was that I did not activate the virtual environment and cd into the folder containing the Django-admin exec file. Once I did that the command worked.

Steven N

unread,
Dec 16, 2018, 2:18:22 PM12/16/18
to django...@googlegroups.com
I think you have not installed django,  `pip install django` you can confirm if django is installed in your current environment by doing `pip list` if it is, you will see it in the list. This might come in handy

Pradeep Sukhwani

unread,
Dec 16, 2018, 2:18:41 PM12/16/18
to Django users
Normally this type of issue comes when you are not using the environment where Django is installed or maybe you forgot to install Django. To confirm Django is install successfully run this in your terminal: 
python -c "import django; print(django.get_version())"
Reply all
Reply to author
Forward
0 new messages