Re: Error with django-admin.py

2018-02-17 Thread Tet Yeap
Hi Dylan, Thank you for the pointers. As you have suggested, after re-installing Python, I am able to continue my work. I must have screw up the path. Regards, Tet Yeap On Saturday, February 17, 2018 at 12:48:58 PM UTC-5, Tet Yeap wrote: > > Hi, > > I was trying to crate a django

Re: Error with django-admin.py

2018-02-17 Thread Dylan Reinhold
This means your windows system has python files (.py) associated with notepad not python. It's okay, but anything you are going to run a python script like django-admin.py or manage.py you need to run pythin first. > python django-admin.py startproject myapp > python manage.py If you get an

Re: Error with django-admin.py

2018-02-17 Thread Etienne Robillard
Please send the actual traceback and error message. Etienne Le 2018-02-17 à 11:59, Tet Yeap a écrit : Hi,     I was trying to crate a django project using "django-admin.py startproject mysite". The a message showed up in notepad

Error with django-admin.py

2018-02-17 Thread Tet Yeap
Hi, I was trying to crate a django project using "django-admin.py startproject mysite". The a message showed up in notepad "#!C:\WinPython-64bit-3.6.1.0Qt5\python-3.6.1.amd64\python.exe from django.core import management if __name__ == "__main__":

Re: error on django-admin.py startproject

2011-07-07 Thread jaspreet kaur
Your problem is solved or not? On Fri, Jul 8, 2011 at 12:39 AM, Phil wrote: > > Thanks for advice everyone. > > I had installed python2.7 the normal way using "wget > http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2; > > I am reading up a bit more on it and will give it

Re: error on django-admin.py startproject

2011-07-07 Thread Phil
Thanks for advice everyone. I had installed python2.7 the normal way using "wget http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2; I am reading up a bit more on it and will give it another go hopefully with more success. Thanks again. On Jul 4, 10:15 am, Tim Diggins

Re: error on django-admin.py startproject

2011-07-04 Thread Tim Diggins
I think it helps you to use virtualenv when using django on a machine with multiple pythons (it's a great tool anyway, but this is an extra reason). the trick is to use virtualenv's -p argument when creating the environment, to specify the path to the python executable. so, in summary: 1)

Re: error on django-admin.py startproject

2011-07-04 Thread bruno desthuilliers
On Jul 3, 5:46 pm, Phil wrote: > Thanks for all the comments everyone, it's a great help. > > Yes I have more than one python installed, when I got the server it > had python2.4 and I read the latest django stopped supporting 2.4 so I > installed python2.7 after reading

Re: error on django-admin.py startproject

2011-07-04 Thread bruno desthuilliers
On Jul 3, 10:39 pm, ravinder singh wrote: > plz upgrade ur system than try to run Please stop giving clueless advices (and quit that l33t speak too, it doesn't make you look 'kewl'). -- You received this message because you are subscribed to the Google Groups

Re: error on django-admin.py startproject

2011-07-03 Thread ravinder singh
plz upgrade ur system than try to run -- 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.

Re: error on django-admin.py startproject

2011-07-03 Thread Phil
Thanks for all the comments everyone, it's a great help. Yes I have more than one python installed, when I got the server it had python2.4 and I read the latest django stopped supporting 2.4 so I installed python2.7 after reading this(also it said not to delete python2.4 because 'yum' needs it to

Re: error on django-admin.py startproject

2011-07-03 Thread bruno desthuilliers
On 2 juil, 21:57, Phil wrote: > When I type "import functools" into the python > interpreter I get no errors back either. I can't make it out. > see my other answer - either you're not invoking the right Python (if you have more than one) or something messes with your

Re: error on django-admin.py startproject

2011-07-03 Thread bruno desthuilliers
On 2 juil, 20:31, ravinder singh wrote: > @ >   plz try this >     sudo apt-get install subversion Not all systems are debian or unbuntu, > than >       django-admin.py startproject mysite.ok In which way would it solve the OP's problem ? Django has exactly 0

Re: error on django-admin.py startproject

2011-07-03 Thread bruno desthuilliers
On 2 juil, 20:02, Phil wrote: > Hi, > > I recently installed the latest development version of Django from > subversion. I followed all steps on site, got no errors. When I type > "import django" in Python interpreter I get no errors. > > But when I try run "django-admin.py

Re: error on django-admin.py startproject

2011-07-02 Thread Andre Terra
As always, please post the full traceback. Do you get different results if you add/remove "python" to the start of the command? Cheers, André Terra On 7/2/11, Phil wrote: > Hi, > > I recently installed the latest development version of Django from > subversion. I followed

Re: error on django-admin.py startproject

2011-07-02 Thread Phil
Well I already have subversion installed, that's how I got django in the first place. When I type "import functools" into the python interpreter I get no errors back either. I can't make it out. On Jul 2, 7:31 pm, ravinder singh wrote: > @ >   plz try this >     sudo

Re: error on django-admin.py startproject

2011-07-02 Thread ravinder singh
@ plz try this sudo apt-get install subversion than django-admin.py startproject mysite.ok -- 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

error on django-admin.py startproject

2011-07-02 Thread Phil
Hi, I recently installed the latest development version of Django from subversion. I followed all steps on site, got no errors. When I type "import django" in Python interpreter I get no errors. But when I try run "django-admin.py startproject mysite" I get the following error... "ImportError: