I just need pygame but its failing to install without xcode -> It also makes installing all kinds of languages and things super easy.Ĭan i install pygame without installing Xcode ? I am conscious that Xcode is a 6 GB file and i don’t programme in Xcode. Why use Homebrew? So when you install things you can easily remove and reinstall them if they break, remove them if they're misbehaving or you no longer need them, or update your packages whenever updates come out (you can do that with brew update then brew upgrade). Then you can run Python scripts from the Terminal with python filename.py.
Enable the Xcode Command Line Tools, necessary for installing/compiling Homebrew: xcode-select –install.If you run into issues with OS X El Capitan, this will help.