Friday, November 29, 2013

python virtual environment



Hello

I am trying to run a project that was setup in another server, but getting the following error. I am using python 2.7, django, virtualenv. So I am running the project inside a python virtual environment


(virtualenv)[web.srv1 daily# python manage.py runserver 0.0.0.0:8000
Traceback (most recent call last):
  File "manage.py", line 2, in <module>
    from django.core.management import execute_manager
ImportError: cannot import name execute_manager


I used the method mentioned in the below link to setup the virtual environment.

http://toic.org/blog/2011/wsgi-on-cpanel-improved/

This project was setup inside a cpanel server. But the current server I using is not a cpanel server. It is normal centos server.

Can somebody help me to track down the issue.


--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7181ba64-d2d6-4926-b35d-5b4a2a7792a4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment