Read ACCELEROMETER_QUERY response in macro

try replacing sudo pip install ... with ~/klippy-env/bin/pip install ...