$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

4. install midnight-commander python 2.7 and/or python 3.x

$ brew install mc
$ brew install python --universal
$ brew install python3 --universal