Thanks for the response.

Doing some more tests python programs do work, they just seem to not
recieve sys.argv. The results of calling "manage.py runserver" is the
same as calling just "manage.py". Other simple scripts bear this out.

Thanks,

Rodrigo

On Dec 1, 6:32 am, John M <retireonc...@gmail.com> wrote:
> Sounds like the .py extension isn't seen as using python, should be an
> easy fix.  Check your file associations (where they are in Win7) I'll
> have to find at work tomorrow, but that should fix your issue.
>
> Or, it could be some new security scheme that MS has come up with to
> not allow associations at the CMD level?  sounds like that would break
> too much stuff though, I'll try it at work tomorrow and if it's not an
> association thing, I'll check back on this thread.
>
> J
>
> On Nov 30, 8:36 am, Rodrigo Cea <rodrigo...@gmail.com> wrote:
>
> > Following an abortive attempt to install Python2.6 on Windows 7, I
> > can't run the Django dev server without prepending "python" before
> > "manage.py runserver".
>
> > I tried recently to install Python2.6 on a windows 7 system that
> > already has python 2.5 installed. I had problems running some Django
> > applications I'm working on, so I uninstalled it.
>
> > Now I can't run the dev server the way I used to: "manage.py
> > runserver", I get:
>
> > "Type 'manage.py help' for usage."
>
> > If I run it like so: "python manage.py runserver" it works.
>
> > I have checked for other python installs on the system, and there was
> > just one in Cygwin which I have deleted.
> > I have checked running programs with and without "python...." and the
> > executable is the same: "C:\python2.5\python.exe".
>
> > This also affects other programs, e.g.: easy_setup, which I can't just
> > run as "easy_setup package_name" anymore, but rather "python /path/to/
> > easy_setup package_name".
>
> > This is more annoying than anything else, but any help is greatly
> > appreciated.
>
>

--

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.


Reply via email to