this was my situation:
(venv)>> python manage.py runserver !!! but permission denied: python
after many searches finally i cant find the solution. i am in ubuntu 24.04. suddenly i try python3 inplace of python in command and it worked
(venv)>> python3 manage.py runserver