On Sunday, July 28, 2013 7:31:39 AM UTC-7, vinoth job wrote: > > 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 > <re...@fleschenberg.net<javascript:> > > 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: re...@fleschenberg.net <javascript:> >> >> -- >> 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...@googlegroups.com <javascript:>. >> To post to this group, send email to django...@googlegroups.com<javascript:> >> . >> Visit this group at http://groups.google.com/group/django-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > How did you install it? That's not the normal place for the installation, it should be in lib/pythonxx/site-packages.
While in the virtualenv, you should be able to just type pip install Django, and it will install in the correct place. -- 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.