djangoèu石墨烯寻找包装;“六”;在错误的地方?

djangoèu石墨烯寻找包装;“六”;在错误的地方?,django,six,graphene-django,Django,Six,Graphene Django,我试图使用graphene django,但“six”包有一些问题。它已经安装,但它是作为自己的软件包安装的,graphene django似乎期待它出现在django.utils File "C:\Users\mjnic\.virtualenvs\phoenix-demo-C42C_PgQ\lib\site-packages\graphene_django\settings.py", line 18, in <module> from django.utils impo

我试图使用
graphene django
,但“six”包有一些问题。它已经安装,但它是作为自己的软件包安装的,
graphene django
似乎期待它出现在
django.utils

  File "C:\Users\mjnic\.virtualenvs\phoenix-demo-C42C_PgQ\lib\site-packages\graphene_django\settings.py", line 18, in <module>
    from django.utils import six
ImportError: cannot import name 'six' from 'django.utils' (C:\Users\mjnic\.virtualenvs\phoenix-demo-C42C_PgQ\lib\site-packages\django\utils\__init__.py)
我已经检查了graphene_django的源代码,在
settings.py中,它似乎特别关注django路径

This module provides the `graphene_settings` object, that is used to access
Graphene settings, checking for user settings first, then falling
back to the defaults.
"""
from __future__ import unicode_literals

from django.conf import settings
from django.test.signals import setting_changed
from django.utils import six
我正在使用pipenv来管理我的环境,我已经卸载并重新安装了六个,各种各样的graphene软件包多次尝试解决这个问题,但都没有成功


那么,我如何移动
six
的安装,使其位于
django.utils.six
,或者更改设置,使graphene django查看当前安装的位置(似乎不可能查看源代码)

在经历了许多挫折之后,我终于找到了答案。我的
Pipfile
实际指定了
Django=“*”
(是的,我知道…),并且似乎
six
已从版本3中的
Django.utils
中删除。将版本指定为

This module provides the `graphene_settings` object, that is used to access
Graphene settings, checking for user settings first, then falling
back to the defaults.
"""
from __future__ import unicode_literals

from django.conf import settings
from django.test.signals import setting_changed
from django.utils import six