0

We install virtualenv inside every project in server:

virtualenv env

source env/bin/activate

pip install -r requirements.txt

But I have stil from django.utils.six import with_metaclass ImportError: No module named six error in syncdb. I have this problem with django-modeltranslation.

Why I have this error? I could import six in python.

Community
  • 1
  • 1
TheNone
  • 5,684
  • 13
  • 57
  • 98
  • 1
    Do you have the `six` module in your requirements.txt? by default, virtualenvs are created with --no-site-packages, so system packages are not included. – Luis Masuelli Aug 22 '14 at 14:01

1 Answers1

1

Django 1.4 is a very old version. django-modeltranslation clearly relies on a more recent version of Django.

Daniel Roseman
  • 588,541
  • 66
  • 880
  • 895