Skip to content

importlib issue after installing django 1.11 #81

Open
@quinnjaymeo

Description

@quinnjaymeo

I get the following error everytime I try to run the server after upgrading to django to version 1.11.

..../models.py", line 5, in
from djangotoolbox.fields import ListField
File "/anaconda/lib/python2.7/site-packages/djangotoolbox/fields.py", line 4, in
from django.utils.importlib import import_module
ImportError: No module named importlib

after a little research, I found out "django.utils.importlib is a compatibility library for when Python 2.6 was still supported. It has been obsolete since Django 1.7, which dropped support for Python 2.6, and is removed in 1.9 per the deprecation cycle." source

but when I tried running the server afterwards, I got this error:

from djangotoolbox.fields import ListField
File "/anaconda/lib/python2.7/site-packages/djangotoolbox/fields.py", line 6, in
from django.db.models.fields.subclassing import Creator
ImportError: No module named subclassing

can anyone help please?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions