django 创建超级用户失败

错误样式1: Superuser creation skipped due to not running in a TTY. You can run manage.py createsuperuser in your project to create one manually.

错误样式2:

解决办法:

进入对应虚拟环境:
python xxxxxxxxxmanage.py createsuperuser

原文地址:https://www.cnblogs.com/yushengzhou/p/9516484.html