mssparkutils is a package for synapse integration, and thus not available locally, but you can leverage https://pypi.org/project/dummy-notebookutils/
and leverage it locally.