Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

couldn't create superuser for cvat in windows #1240

Closed
ghSaint opened this issue Mar 6, 2020 · 6 comments
Closed

couldn't create superuser for cvat in windows #1240

ghSaint opened this issue Mar 6, 2020 · 6 comments
Labels
question Further information is requested

Comments

@ghSaint
Copy link

ghSaint commented Mar 6, 2020

winpty docker exec -it cvat bash -ic 'python3 ~/manage.py createsuperuser'
'winpty' is not recognized as an internal or external command,
operable program or batch file.

@nmanovic
Copy link
Contributor

nmanovic commented Mar 6, 2020

@ghSaint , try to use cmd.exe instead of gitbash or any other custom interpreter. Does it solve the problem?

@nmanovic nmanovic added the question Further information is requested label Mar 6, 2020
@ghSaint
Copy link
Author

ghSaint commented Mar 6, 2020

@nmanovic, i tried it in cmd. it was showing the same error.

@nmanovic
Copy link
Contributor

nmanovic commented Mar 6, 2020

Try different advices from the thread below. Recently I built cvat on Windows to help a guy from an internal team. It worked fine. I have no idea what is wrong in your case.

docker/for-win#1588

@ghSaint
Copy link
Author

ghSaint commented Mar 6, 2020

i tried using bash and it worked.

Thanks.

@ghSaint ghSaint closed this as completed Mar 6, 2020
@christian-cahig
Copy link

i tried using bash and it worked.

Worked for me as well.

@vishalims095
Copy link

winpty docker exec -it cvat bash -ic 'python3 ~/manage.py createsuperuser' 'winpty' is not recognized as an internal or external command, operable program or batch file.

please use gitbash on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants