It looks like you’re using the Arduino IDE. Managing multiple libraries for the Arduino IDE is NOT easy – it is quite a hassle. Have you installed all the libraries following the instructions here: https://github.com/EnviroDIY/Libraries#installing-libraries-in-the-arduinocc-ide? Have installed them more than one time? When you open your Arduino library folder (likely documents/Arduino/libraries), do you see only one folder for each library. If you see multiple folders with the same names, (ie, EnableInterrupt and EnableInterrupt (2) ) then you do have multiple copies of libraries and must remove the extras. If you have not done any modification of you libraries and you haven’t programmed other boards in a way that you need to be able to reproduce exactly, I would start fresh by deleting everything in your Arduino/libraries folder and reinstalling them all following the directions I linked above. If you’ve modified any other library or you have other programs depending on the exact versions of your installed libraries, you’re going to have to manually go through them and delete the conflicting versions and install anything missing. All of the dependencies for ModularSensors are listed here: https://github.com/EnviroDIY/ModularSensors/wiki/Library-Dependencies (and of course ModularSensors itself is required).
This difficult in managing libraries is the primary reason I would never recommend the Arduino IDE. PlatformIO makes this management much easier, even though it might seem scarier to beginners at the start.