Skip to content

Issue when installing analytics !! #1

@ouss1988

Description

@ouss1988

First I would like to thank all the team for this great job and very useful tool.
I followed the installation instruction and get this error when executing this command:
python manage.py syncdb

error :
Traceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 338, in execute
django.setup()
File "/usr/local/lib/python2.7/dist-packages/django/init.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 94, in create
module = import_module(entry)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/ouss/.local/lib/python2.7/site-packages/autocomplete_light/init.py", line 10, in
from .forms import * # noqa
File "/home/ouss/.local/lib/python2.7/site-packages/autocomplete_light/forms.py", line 443, in
GenericM2MRelatedObjectDescriptorHandlingMixin, forms.ModelForm)):
File "/home/ouss/.local/lib/python2.7/site-packages/autocomplete_light/forms.py", line 282, in new
attrs)
File "/usr/local/lib/python2.7/dist-packages/django/forms/models.py", line 226, in new
new_class = super(ModelFormMetaclass, mcs).new(mcs, name, bases, attrs)
File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py", line 43, in new
new_class = super(DeclarativeFieldsMetaclass, mcs).new(mcs, name, bases, attrs)
File "/usr/local/lib/python2.7/dist-packages/django/forms/widgets.py", line 154, in new
new_class = super(MediaDefiningClass, mcs).new(mcs, name, bases, attrs)
TypeError: Error when calling the metaclass bases
metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions