It looks like you are using Python with a FIPS enabled OpenSSL installation. DVC uses MD5 in a non-cryptographic use case (for computing file checksums) but MD5 is unavailable in FIPS enabled OpenSSL (since MD5 is insecure for cryptographic use cases).
In order to install DVC via pip you would have to switch to using a Python installation with a default (non-FIPS) OpenSSL. If this is not an option in your environment (i.e. you are limited to only installing Python with FIPS enabled OpenSSL for security or compliance reasons), you will need to use one of the DVC binary package installations instead of installing via pip.