Thank you for your help. I also found a video that helped me with PowerShell (just if someone else has the same problem): https://www.youtube.com/watch?v=3TqO5FfhV28
2018-05-04 21:27 GMT+03:00 Matthew Pava <[email protected]>: > And you’re using PowerShell instead of the command prompt. I typically > just work in the command prompt. With PowerShell, you may have to be more > explicit in your path, such as using “.\django-admin startproject mysite” > > > > *From:* [email protected] [mailto:django-users@ > googlegroups.com] *On Behalf Of *Jani Tiainen > *Sent:* Friday, May 4, 2018 1:26 PM > *To:* [email protected] > *Subject:* Re: Django-admin problem > > > > Hi, > > > > By the looks of error you're running windows. > > > > By default scripts are not in PATH so you need to type something like > c:\python36\scripts\django-admin.py > > > > Or you should use virtualenv (or pipenv) which would set path correctly. > > > > pe 4. toukokuuta 2018 klo 19.51 Mikko <[email protected]> > kirjoitti: > > Hi, > > > > I'm trying to follow the tutorial, but I got this problem at the very > beginning when I tried ''django-admin startproject mysite'': > > > > django-admin : The term 'django-admin' is not recognized as the name of a > cmdlet, function, script file, or operable pr > > ogram. Check the spelling of the name, or if a path was included, verify > that the path is correct and try again. > > At line:1 char:1 > > + django-admin startproject mysite > > + ~~~~~~~~~~~~ > > + CategoryInfo : ObjectNotFound: (django-admin:String) [], > CommandNotFoundException > > + FullyQualifiedErrorId : CommandNotFoundException > > > > Could someone help me to overcome this? > > > > > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/28096273-fd67-4084-ba8a-f4e3c75d5916%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/28096273-fd67-4084-ba8a-f4e3c75d5916%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/CAHn91odAtLj7Xc%3DChc0f7yLZ- > HY7hiM3%3DaNSRxhY1MQd_qbREw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAHn91odAtLj7Xc%3DChc0f7yLZ-HY7hiM3%3DaNSRxhY1MQd_qbREw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/9a713a6d5e6a43e987a422e33be385e1%40ISS1.ISS.LOCAL > <https://groups.google.com/d/msgid/django-users/9a713a6d5e6a43e987a422e33be385e1%40ISS1.ISS.LOCAL?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/CAGD0jjKsJpsWW58FYwK1LgPBdLWL48MLEqv55ZkQDvb2aguXRQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

