Can you please provide what is full command and where you running this ?
Also, you can try this ,
Try to run this command in native terminal like (CMD/PowerShell, macOS teminal
Also try after enable virtual environment
python manage.py createsuperuser
python3 manage.py createsuperuser
py manage.py createsuperuser