On Mon, Jul 15, 2013 at 6:43 PM, Joshua Phillips <jap...@georgetown.edu> wrote:
> Hello All,
>    I'm running django for the first time using the enthought canopy IDE for
> python. I'm trying to work through the tutorial and although the cmd line
> tells me I have successfully installed django 1.5.1 . But when I try running
> django-admin.py startproject [sitename] it just opens up the init file in
> enthought and skips all the rest. No [sitename] directory is created, none
> of the other files in the tutorial either. Have tried several Google
> searches against this, getting bad results.
>
>
> Has anyone experienced anything similar? Are there any obvious mistakes I
> may be making?
>
> Maybe pathnames which must be added?

Your editor has been "helpful" and registered itself as the handler
for python programs, so that when you try to run them, it instead
opens them up in your editor. Isn't that handy?

You have a couple of choices. You can fix this broken setup, and then
you can follow the documentation as normal. Alternatively, you can
leave it broken, and instead of running "django-admin.py", run "python
django-admin.py".

If you do the latter you will have to continually remind yourself to
mentally insert the extra "python " before running any python script.

Cheers

Tom

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to