Accelerate: command not found

What may be happening is the wrong python could be getting pointed to: python - pip not installing entry_points as executables - Stack Overflow

You should check which python and pip show accelerate to see where everything is being installed.

Ideally try using something like venv or conda to install it there, I haven’t personally had issues with the entrypoint commands having issues that way