Error opening sound/recording device


I am getting “Error opening sound device” and “Error opening recording device” window when trying to listen or to record on Audacity.
I’ve tried all the ideas posted on the forums and in the Audacity manual. Nothing works. I completely uninstalled Audacity, restarted my computer, and then installed again, but the same problems show up.
Audacity is 2.3.3. Computer is Mac Book Pro Mid 2012, macOS Sierra Version 10.12.6.
While “Devices” seems fine:
Screen Shot 2020-03-02 at 12.51.58 PM.png
“MIDI Devices” does not seem to show the appropriate information:
Screen Shot 2020-03-02 at 12.51.58 PM.png
I can’t fix this. Please advise.