-1

I want to run my virtual env. via "python manage.py runserver" but always get this message:

"RuntimeError: __class__ not set defining 'AbstractBaseUser' as <class 'django.contrib.auth.base_user.abstractbaseuser'="">. Was __classcell__ propagated to type.__new__?"

Does anyone know what causes this problem?

I'm using Django 1.10 and Python 3.5.8

Thanks in advance, Chris

Elias Prado
  • 446
  • 5
  • 14

1 Answers1

0

Try this approach I have added in this post and see whether it works or not.

Trying to install django to my virtual env

Elias Prado
  • 446
  • 5
  • 14
  • Hi, this is exactly how i did it, but did not work. Today i tried it with Python 3.7 and it worked fine. I will go with that solution for now. But thank you for your support. – Christopher Wippel Mar 29 '20 at 15:36
  • which solution? – Elias Prado Mar 29 '20 at 23:47
  • It looks like the problem only appears by using python 3.5.8 so i upgraded to 3.7 and it works. I haven't found out why i got the error with V 3.5 but so don't have found a solution for this particular problem. – Christopher Wippel Mar 30 '20 at 18:06