Sunday, July 28, 2013

Re: ImportError: No module named django.core.management

venv
     /bin
     /build
          /django
     /include
     /lib
     /local


here i installed django-1.4.5. and there is no error output coming when i run this command .
pip freeze|grep -i django


On Sun, Jul 28, 2013 at 5:42 AM, René Fleschenberg <rene@fleschenberg.net> wrote:
Hi,

vinoth job:
>  python manage.py syncdb
>
> Traceback (most recent call last):
>   File "manage.py", line 8, in <module>
>     from django.core.management import execute_from_command_line
> ImportError: No module named django.core.management

This error can also occur if the virtualenv is not actviated. Did you run
``source bin/activate`` (or the appropriate ``workon`` command, in case you're
using virtualenv-wrapper)? Does your shell prompt show the name of the
virtualenv?

If the virtualenv is activated: is Django really installed in the virtualenv?
What's the output of ``pip freeze|grep -i django`` (with the virtualenv being
active)?


--
René Fleschenberg

Am Stadtgarten 28, 45276 Essen, Germany
Phone: +49 1577 170 7363
E-Mail: rene@fleschenberg.net

--
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+unsubscribe@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.



--
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+unsubscribe@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.
 
 

No comments:

Post a Comment