No module named six

前端 未结 3 2002
天命终不由人
天命终不由人 2021-01-02 03:06

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

Error: No modules named six.

Python Six is installed

相关标签:
3条回答
  • 2021-01-02 03:34

    This should solve your problem:

    $ easy_install six
    
    0 讨论(0)
  • 2021-01-02 03:40

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

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

    0 讨论(0)
  • 2021-01-02 03:40

    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

    0 讨论(0)
提交回复
热议问题