First time here? Check out the FAQ!

Revision history  [back]

Getting error:"ImportError: No module named functional" in while using virtualenv

I am trying to install askbot using virtualenv but whenever I am trying the command python manage.py syncdb,I am getting a error as shown below. I install celery and django-celery package using the commands,pip install -E site django-celery,pip install -E site celery, but it did not help. so how to install this module functional?

(site)[sayan@fedora forum]$ python manage.py syncdb
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/base.py", line 219, in execute
    self.validate()
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/base.py", line 249, in validate
    num_errors = get_validation_errors(s, app)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/validation.py", line 36, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/db/models/loading.py", line 146, in get_app_errors
    self._populate()
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/db/models/loading.py", line 64, in _populate
    self.load_app(app_name)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/db/models/loading.py", line 78, in load_app
    models = import_module('.models', app_name)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django_celery-2.2.3-py2.7.egg/djcelery/models.py", line 18, in <module>
    from djcelery.managers import TaskManager, TaskSetManager, ExtendedManager
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django_celery-2.2.3-py2.7.egg/djcelery/managers.py", line 6, in <module>
    from celery.utils.functional import wraps
ImportError: No module named functional

Getting error:"ImportError: No module named functional" in while using virtualenv

I am trying to install askbot using virtualenv but whenever I am trying the command python manage.py syncdb,I am getting a error as shown below. I install celery and django-celery package using the commands,pip install -E site django-celery,pip install -E site celery, but it did not help. so how to install this module functional?

(site)[sayan@fedora forum]$ python manage.py syncdb
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/base.py", line 219, in execute
    self.validate()
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/base.py", line 249, in validate
    num_errors = get_validation_errors(s, app)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/validation.py", line 36, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/db/models/loading.py", line 146, in get_app_errors
    self._populate()
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/db/models/loading.py", line 64, in _populate
    self.load_app(app_name)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/db/models/loading.py", line 78, in load_app
    models = import_module('.models', app_name)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django_celery-2.2.3-py2.7.egg/djcelery/models.py", line 18, in <module>
    from djcelery.managers import TaskManager, TaskSetManager, ExtendedManager
  File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django_celery-2.2.3-py2.7.egg/djcelery/managers.py", line 6, in <module>
    from celery.utils.functional import wraps
ImportError: No module named functional

> Blockquote

Getting error:"ImportError: No module named functional" in while using virtualenv

I am trying to install askbot using virtualenv but whenever I am trying the command python manage.py syncdb,I am getting a error as shown below. I install celery and django-celery package using the commands,pip install -E site django-celery,pip install -E site celery, but it did not help. so how to install this module functional?

(site)[sayan@fedora forum]$ python manage.py syncdb Traceback (most recent call last): File "manage.py", line 11, in <module> execute_manager(settings) File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv self.execute(*args, **options.__dict__) self.execute(args, *options.__dict__) File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/base.py", line 219, in execute self.validate() File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/base.py", line 249, in validate num_errors = get_validation_errors(s, app) File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/core/management/validation.py", line 36, in get_validation_errors for (app_name, error) in get_app_errors().items(): File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/db/models/loading.py", line 146, in get_app_errors self._populate() File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/db/models/loading.py", line 64, in _populate self.load_app(app_name) File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/db/models/loading.py", line 78, in load_app models = import_module('.models', app_name) File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module __import__(name) File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django_celery-2.2.3-py2.7.egg/djcelery/models.py", line 18, in <module> from djcelery.managers import TaskManager, TaskSetManager, ExtendedManager File "/home/sayan/Development/mether/site/lib/python2.7/site-packages/django_celery-2.2.3-py2.7.egg/djcelery/managers.py", line 6, in <module> from celery.utils.functional import wraps ImportError: No module named functional > Blockquote

functional