1
votes

I installed south and I try to use it to migrate now:

./manage.py schemamigration myapp --initial

I get a :

-bash: ./manage.py: Permission denied

and if I sudo I get:

sudo: ./manage.py: command not found

Response.

Whats wrong?

Thanks!

2

2 Answers

2
votes

Your manage.py isn't executable. Simply pass it to the interpreter instead.

python manage.py ...
0
votes

You could also make it executable:

sudo chmod u+x

So you can run it like ./manage.py