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

no module django_gamification #5

Open
IT-special opened this issue Apr 28, 2020 · 6 comments
Open

no module django_gamification #5

IT-special opened this issue Apr 28, 2020 · 6 comments

Comments

@IT-special
Copy link

IT-special commented Apr 28, 2020

(django-gamification-example-app) edugineer@edugineer-system:~/projects/django-gamification-example-app$ python3 manage.py runserver
Unhandled exception in thread started by <function check_errors..wrapper at 0x7f3f7706fea0>
Traceback (most recent call last):
File "/home/edugineer/.local/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "/home/edugineer/.local/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "/home/edugineer/.local/lib/python3.6/site-packages/django/utils/autoreload.py", line 248, in raise_last_exception
raise _exception[1]
File "/home/edugineer/.local/lib/python3.6/site-packages/django/core/management/init.py", line 337, in execute
autoreload.check_errors(django.setup)()
File "/home/edugineer/.local/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "/home/edugineer/.local/lib/python3.6/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/edugineer/.local/lib/python3.6/site-packages/django/apps/registry.py", line 89, in populate
app_config = AppConfig.create(entry)
File "/home/edugineer/.local/lib/python3.6/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'django_gamification'

@IT-special IT-special changed the title SyntaxError: invalid syntax no module django_gamification Apr 28, 2020
@mattjegan
Copy link
Owner

It looks like you may not have installed the requirements. Could you please provide the output of pip list.

@IT-special
Copy link
Author

IT-special commented Apr 30, 2020 via email

@IT-special
Copy link
Author

IT-special commented Apr 30, 2020 via email

@IT-special
Copy link
Author

IT-special commented Apr 30, 2020 via email

@mattjegan
Copy link
Owner

No worries, you're missing the django-gamification package. You need to run:

pip install django-gamification
python manage.py migrate
python manage.py create-examples
python manage.py runserver

@IT-special
Copy link
Author

IT-special commented May 1, 2020 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