简体   繁体   中英

I can't run server via "python manage.py runserver"

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

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

Trying to install django to my virtual env

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM