During the installation driver I getting this error
(an error occurred during installation
the installer encountered an error that caused the installation to fail)
what should I do?
mk1 does not work on modern Mac OS.
You either will have to use a very old version of mac or download this 3rd party app
https://github.com/Opa-/x1-mk1-usb2midi