Re: windows can't find django-admin.py

2008-11-08 Thread mgag
And finally to get arguments to be passed correctly, one needs to adjust the file association settings. Open MyComputer, Tools->FolderOptions, FileTypes, find "PY" in the list, select Advanced, select "open" and Edit. Change the Application Used.. to "C:\Python25\python.exe" "%1" %* Change

Re: windows can't find django-admin.py

2008-09-19 Thread Karen Tracey
On Fri, Sep 19, 2008 at 10:20 AM, tcp <[EMAIL PROTECTED]> wrote: > > Hi, > > New to Python...getting started with Django. > > I've just installed Django and and following some getting started > instructions. > > I'm trying to run django-admin like this: > > c:\myproject> python django-admin.py sta

Re: windows can't find django-admin.py

2008-09-19 Thread tcp
Karen and Rodolfo, Thank you both for your quick answers. I have associated .py files with Python.exe and then started Python by invoking the specific .py file rather than directly invoking Python.exe and it works fine. Here is the proof: C:\>django-admin.py Type 'django-admin.py help' for usage

Re: windows can't find django-admin.py

2008-09-19 Thread tcp
Ok. Now the link to the PATH makes more sense to me. I will try again by associating .py files to Python.exe. Tom On Sep 19, 10:45 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, Sep 19, 2008 at 10:20 AM, tcp <[EMAIL PROTECTED]> wrote: > > > Hi, > > > New to Python...getting started with

Re: windows can't find django-admin.py

2008-09-19 Thread tcp
Your reply doesn't make sense to me. It is not WINDOWS looking for the .py file, it is the Python interpreter. In any case, I have tried that to prove that it is not the solution. Here is the proof: C:\python\projects\iFriends>python django-admin.py help python: can't open file 'django-admin.py':

Re: windows can't find django-admin.py

2008-09-19 Thread Rodolfo
I guess for that to work you have to have it on Windows PATH env. variable, and not PYTHONPATH. That's cuz Windows can't find the file you're passing to python. []'s Rodolfo tcp escreveu: > Hi, > > New to Python...getting started with Django. > > I've just installed Django and and following s

windows can't find django-admin.py

2008-09-19 Thread tcp
Hi, New to Python...getting started with Django. I've just installed Django and and following some getting started instructions. I'm trying to run django-admin like this: c:\myproject> python django-admin.py startproject iFriends and I get this problem: python: can't open file 'django-admin.