I was getting this error after MacOS Sequoia update
OSError: [Errno 48] Address already in use
After updating my computer MacOS Sequoia
To fix it, turn off Airplay Receiver in Settings
Toggle OFF for
Airplay Receiver -> OFF