Looks like you already have an active virtual environment but those instructions only install a few default things (like Django) into that environment.
-- Therefore it sounds like your new virtual environment does not have all of the required python modules installed in it.
On Sunday, 1 December 2013 12:13:28 UTC+10, Avraham Serour wrote:
There should be a requirements.txt file or similar associated with the project which you can use for the purpose with pip. See here for more info.
On Sunday, 1 December 2013 12:13:28 UTC+10, Avraham Serour wrote:
you need to activate the virtualenv before using:on windows:env\Scripts\activateon linux:source env/bin/activateOn Fri, Nov 29, 2013 at 7:44 PM, tino <tin...@gmail.com> wrote:--
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...@googlegroups.com .
To post to this group, send email to django...@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 .
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/289a11a7-1cf7-40e0-adc1-aa6d6a89a338%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment