No module named six

前端 未结 3 2001
天命终不由人
天命终不由人 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: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

提交回复
热议问题