Skip to content

ImportError: cannot import name AppConf #1

@ATpiu

Description

@ATpiu

when l execute “python manage.py celery worker -c 40”,an error happened:
Traceback (most recent call last):
File "manage.py", line 15, in
execute_from_command_line(sys.argv)
File "/usr/local/python27/lib/python2.7/site-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/usr/local/python27/lib/python2.7/site-packages/django/core/management/init.py", line 338, in execute
django.setup()
File "/usr/local/python27/lib/python2.7/site-packages/django/init.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/usr/local/python27/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
app_config.import_models()
File "/usr/local/python27/lib/python2.7/site-packages/django/apps/config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/usr/local/python27/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/A_Scan_Framework/users/models.py", line 9, in
from .conf import settings
File "/home/A_Scan_Framework/users/conf.py", line 1, in
from appconf import AppConf
ImportError: cannot import name AppConf

Unluckily,l tried appconf v0.1.1 to v0.1.10,but all failed and the error is the same.
My python is 2.7.12
Do let me know if further information is required.
Thx.

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