Re: Suddenly "django-admin.py startproject" not working
What OS? Is the file django-admin.py on your path? Is it marked as executable? Try: python django-admin.py startproject mysite Bill On Sat, Jan 26, 2013 at 4:06 AM, Mihkel Lukatswrote: > Hi, > > suddenly "django-admin.py startproject mysite" doesn't work. what could > cause this? Workd befor. now when i type it in it will open the file > django-admin.py... not execute the command.. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Suddenly "django-admin.py startproject" not working
Hi, suddenly "django-admin.py startproject mysite" doesn't work. what could cause this? Workd befor. now when i type it in it will open the file django-admin.py... not execute the command.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: django-admin.py startproject not working
You guys are the best!! Thanks On Dec 12 2010, 10:28 pm, Brad Reardonwrote: > Another tip is to add *.py to the PATHEXT variable or the like. That will > allow the script to be found on the path. I'm not sure if that's the right > variable name, but check it out. > > On Dec 12, 2010, at 10:13 PM, codegal wrote: > > > > > > > > > Thanks. Good pointer for running python scripts in the future - will > > follow as a matter of practice. > > > As it turned out in this case, I just wasn't providing the full path. > > I had set up a .pth file, and had tried copyingdjango-admin.pyinto > > the main Python directory, but it turned out that directory is not > > assumed, and neither the PYTHONPATH nor the environmental variables > > path gets checked when Python runs the command, so this (full path to > >django-admin.py) is what finally worked for me: > > > python C:/Python27/Scripts/django-admin.pystartprojectmysite > > > On Dec 12, 8:06 pm, Brad Reardon wrote: > >> Vista is very picky about permissions. Try running the command prompt as an > >> administrator. > > >> On Sun, Dec 12, 2010 at 8:06 PM, codegal wrote: > >>> I'm trying to create my first Django project, and I must be missing > >>> something really basic. I'm using Windows Vista, and have installed > >>> Python 2.7 and Django 1.2.3, put the location ofdjango-admin.pyinto > >>> my PATH variable, and navigated via command line to the location where > >>> I want to create a project. I'm entering: > > >>>django-admin.pystartprojectcms > > >>> at the command line. I don't get an error, but I also don't get any > >>> processing back - just a new prompt, and no project created in the > >>> directory. Can't find any posts on the web regarding this issue... > > >>> Thanks! > > >>> -- > >>> You received this message because you are subscribed to the Google Groups > >>> "Django users" group. > >>> To post to this group, send email to django-users@googlegroups.com. > >>> To unsubscribe from this group, send email to > >>> django-users+unsubscr...@googlegroups.com >>> groups.com> > >>> . > >>> For more options, visit this group at > >>>http://groups.google.com/group/django-users?hl=en.-Hide quoted text - > > >> - Show quoted text - > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to django-users@googlegroups.com. > > To unsubscribe from this group, send email to > > django-users+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-admin.py startproject not working
Another tip is to add *.py to the PATHEXT variable or the like. That will allow the script to be found on the path. I'm not sure if that's the right variable name, but check it out. On Dec 12, 2010, at 10:13 PM, codegalwrote: > Thanks. Good pointer for running python scripts in the future - will > follow as a matter of practice. > > As it turned out in this case, I just wasn't providing the full path. > I had set up a .pth file, and had tried copying django-admin.py into > the main Python directory, but it turned out that directory is not > assumed, and neither the PYTHONPATH nor the environmental variables > path gets checked when Python runs the command, so this (full path to > django-admin.py) is what finally worked for me: > > python C:/Python27/Scripts/django-admin.py startproject mysite > > > On Dec 12, 8:06 pm, Brad Reardon wrote: >> Vista is very picky about permissions. Try running the command prompt as an >> administrator. >> >> >> >> On Sun, Dec 12, 2010 at 8:06 PM, codegal wrote: >>> I'm trying to create my first Django project, and I must be missing >>> something really basic. I'm using Windows Vista, and have installed >>> Python 2.7 and Django 1.2.3, put the location of django-admin.py into >>> my PATH variable, and navigated via command line to the location where >>> I want to create a project. I'm entering: >> >>> django-admin.py startproject cms >> >>> at the command line. I don't get an error, but I also don't get any >>> processing back - just a new prompt, and no project created in the >>> directory. Can't find any posts on the web regarding this issue... >> >>> Thanks! >> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Django users" group. >>> To post to this group, send email to django-us...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> django-users+unsubscr...@googlegroups.com >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/django-users?hl=en.- Hide quoted text - >> >> - Show quoted text - > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-admin.py startproject not working
Thanks. Good pointer for running python scripts in the future - will follow as a matter of practice. As it turned out in this case, I just wasn't providing the full path. I had set up a .pth file, and had tried copying django-admin.py into the main Python directory, but it turned out that directory is not assumed, and neither the PYTHONPATH nor the environmental variables path gets checked when Python runs the command, so this (full path to django-admin.py) is what finally worked for me: python C:/Python27/Scripts/django-admin.py startproject mysite On Dec 12, 8:06 pm, Brad Reardonwrote: > Vista is very picky about permissions. Try running the command prompt as an > administrator. > > > > On Sun, Dec 12, 2010 at 8:06 PM, codegal wrote: > > I'm trying to create my first Django project, and I must be missing > > something really basic. I'm using Windows Vista, and have installed > > Python 2.7 and Django 1.2.3, put the location of django-admin.py into > > my PATH variable, and navigated via command line to the location where > > I want to create a project. I'm entering: > > > django-admin.py startproject cms > > > at the command line. I don't get an error, but I also don't get any > > processing back - just a new prompt, and no project created in the > > directory. Can't find any posts on the web regarding this issue... > > > Thanks! > > > -- > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to django-us...@googlegroups.com. > > To unsubscribe from this group, send email to > > django-users+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: django-admin.py startproject not working
Vista is very picky about permissions. Try running the command prompt as an administrator. On Sun, Dec 12, 2010 at 8:06 PM, codegalwrote: > I'm trying to create my first Django project, and I must be missing > something really basic. I'm using Windows Vista, and have installed > Python 2.7 and Django 1.2.3, put the location of django-admin.py into > my PATH variable, and navigated via command line to the location where > I want to create a project. I'm entering: > > django-admin.py startproject cms > > at the command line. I don't get an error, but I also don't get any > processing back - just a new prompt, and no project created in the > directory. Can't find any posts on the web regarding this issue... > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
django-admin.py startproject not working
I'm trying to create my first Django project, and I must be missing something really basic. I'm using Windows Vista, and have installed Python 2.7 and Django 1.2.3, put the location of django-admin.py into my PATH variable, and navigated via command line to the location where I want to create a project. I'm entering: django-admin.py startproject cms at the command line. I don't get an error, but I also don't get any processing back - just a new prompt, and no project created in the directory. Can't find any posts on the web regarding this issue... Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.