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

Using PostgreSQL error #12

Open
HackIvan opened this issue Jun 17, 2020 · 1 comment
Open

Using PostgreSQL error #12

HackIvan opened this issue Jun 17, 2020 · 1 comment

Comments

@HackIvan
Copy link

after I've downloaded all the libraries
still give me an error

See Error Below

Exception ignored in thread started by: <function check_errors..wrapper at 0x7f31fd2d5550>
Traceback (most recent call last):
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/utils/autoreload.py", line 226, in wrapper
fn(args, **kwargs)
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/utils/autoreload.py", line 249, in raise_last_exception
six.reraise(
_exception)
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/utils/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/utils/autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/apps/registry.py", line 108, in populate
app_config.import_models(all_models)
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/apps/config.py", line 202, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/contrib/auth/models.py", line 4, in
from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
File "/home/amor/eLearning/venv/lib/python3.8/site-packages/django/contrib/auth/base_user.py", line 49, in
class AbstractBaseUser(models.Model):
RuntimeError: class not set defining 'AbstractBaseUser' as <class 'django.contrib.auth.base_user.AbstractBaseUser'>. Was classcell propagated to type.new?

@avuletica
Copy link
Owner

Hi @HackIvan ,

I'm not really active at GitHub anymore, at first glance it seems you are using a newer python version that might be causing incompatibility issues.

Please check https://github.com/avuletica/eLearning#compatibility

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