Hello, please try out the following steps:
source: https://github.com/Unipisa/Simu5G/issues/65
I guess your operating system is Windows, right?
The above steps work for me but may not for everyone.
It seems to be an OS issue. Therefore, try to use Ubuntu or install the VM on Windows.