Denonavr permission denied

I tried to install integration Denon AVR Network Receivers and have an error at the end “Unable to start configuration wizard”.
Logs:

Unable to install package denonavr==0.10.8: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/srv/homeassistant/lib/python3.8/site-packages/httpcore-0.13.2.dist-info/INSTALLER' Consider using the –user option or check the permissions.

I have latest HA version installed in python venv. What can I do?

Permissions was root. Don’t know why…
This helped.

cd /srv/homeassistant/lib/python3.8/site-packages
chown -R homeassistant:homeassistant httpcore-0.13.2.dist-info
chown -R homeassistant:homeassistant httpcore