Michael Brueckler
Michael Brueckler

Reputation: 123

No module named six

After installing transifex and ./manage.py the following error shows up:

Error: No modules named six.

Python Six is installed in the virtualenv (from https://pypi.python.org/pypi/six) Django Version is 1.4

Any help would be great! thx & best regards Michael

Upvotes: 11

Views: 15660

Answers (3)

Vsbrt
Vsbrt

Reputation: 1

This should solve your problem:

$ easy_install six

Upvotes: -4

Augusto Destrero
Augusto Destrero

Reputation: 4345

I've just had the same problem. Seems like the dependencies in the transifex package are not listed correctly (it depends on Django == 1.3.1 and django-filter >= 0.1, but django-filter 0.6 depends on Django >= 1.4.5).

I solved by installing an older version of django-filter (0.5.4), NOT by using the package provided in pypi (seems that on pypi there are only 0.6 and 0.1 versions), but directly by downloading the release 0.5.4 from here:

https://github.com/alex/django-filter/releases

and then installing with the usual:

python setup.py install

Upvotes: 1

bmihelac
bmihelac

Reputation: 6323

django.utils.six is added in Django 1.4.2, see

https://docs.djangoproject.com/en/1.5/topics/python3/#philosophy

Upvotes: 13

Related Questions