Friday, September 3, 2010

Re: windows7, django-admin.py, system variables, no module named django.core

Hello,

I mean the correct way of running django seems to be to add to windows
environmental variable PATH c:/first/Python26/Lib/site-packages/
Django-1.2.1/django/bin
and when run
$ cmd
$ django-admin.py startproject mysite

the question, why importing management from django.core do not work?
from django.core import management
Error: No module django.core

the module is under c:/first/Python26/Lib/site-packages/Django-1.2.1/
django
I mean it seems cmd must know where are all django modules. How?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment