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 \xxx\xxx\xxx\manage.py createsuperuser
错误样式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 \xxx\xxx\xxx\manage.py createsuperuser