Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name AppConf #1

Open
ATpiu opened this issue Jul 14, 2018 · 1 comment
Open

ImportError: cannot import name AppConf #1

ATpiu opened this issue Jul 14, 2018 · 1 comment

Comments

@ATpiu
Copy link

ATpiu commented Jul 14, 2018

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.

@RASSec
Copy link
Owner

RASSec commented Jul 16, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants