Using I2S microphone on enviro+

How can I record audio from the I2S microphone on enviro+?
I see here the function
def _record(self): and import sounddevice Where is the library for sounddevice? How to install it?
I’m a beginner in Python

If it isn’t already installed, open a terminal on your Pi and type sudo pip3 install sounddevice. pip3 is the add-on package manager for Python 3, and it should fetch and install the files for you.

Thanks. My goal is to record audio samples and do the fft on it. Looks like a challenge, but I hope many people already did it.