Play Sound from USB Microphone

hey
i am using this example on raspberry pi 3 module B runing on python3.7 but i am having deprecation warning with joblib.py

improt imp

not working and they are asking me to change to

import importlib

but file can not be changed
did any one had this problem before ?

Seeing that this thread is two years old and has over 60 replies (which no one is going to want to read thru), please open a new thread and provide the flow you are using and let use know what OS and version you are using. Thanks!