Unable to create Superuser account on Python-Django using Eclipse IDE?

Question:

I am using Eclipse IDE to work on Python 3.4 and Django 1.8 on Windows XP.
My problem is while creating superuser following error occurs.

Superuser creation skipped due to not running in a TTY. You can run manage.py createsuperuser in your project to create one manually

Any solution on it.

Asked By: rahul.m

||

Answers:

This answer seems like it was answered here. Also refer to Geo Jacob’s comment.

Unable to create superuser in django due to not working in TTY

Does Eclipse have it’s own Command Line tool? If not, you should be able to do it via the Windows command prompt/Powershell.

Answered By: Jeremy

In the Terminal.paste it:

winpty python manage.py createsuperuser

And Then fill your details like Username, Email and Password.

Answered By: Divyrajsinh
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.