Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name six #8

Open
nop33 opened this issue Mar 27, 2014 · 1 comment
Open

ImportError: cannot import name six #8

nop33 opened this issue Mar 27, 2014 · 1 comment

Comments

@nop33
Copy link

nop33 commented Mar 27, 2014

Following your instructions, I got the following error message after executing

$ python manage.py syncdb --all
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/core/management/base.py", line 231, in execute
    self.validate()
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/core/management/base.py", line 266, in validate
    num_errors = get_validation_errors(s, app)
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/core/management/validation.py", line 30, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/db/models/loading.py", line 158, in get_app_errors
    self._populate()
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/db/models/loading.py", line 67, in _populate
    self.load_app(app_name)
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/db/models/loading.py", line 88, in load_app
    models = import_module('.models', app_name)
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/src/filer/filer/models/__init__.py", line 2, in <module>
    from filer.models.clipboardmodels import *
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/src/filer/filer/models/clipboardmodels.py", line 7, in <module>
    from filer.models import filemodels
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/src/filer/filer/models/filemodels.py", line 9, in <module>
    from filer.fields.multistorage_file import MultiStorageFileField
  File "/Users/my-name/dev/python/django-cms_demo/django-cms-demo/django-cms-demo/env/src/filer/filer/fields/multistorage_file.py", line 7, in <module>
    from django.utils import six

@mostafahasseib
Copy link

it work with python 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants