first install homebrew if you don’t have it already!

download and install Python 2.7.x from

Then in Terminal:

brew tap cartr/qt4
brew tap-pin cartr/qt4
brew install qt
brew install pyside
brew install cartr/qt4/pyqt@4

To enable Python to find packages from homebrew:

mkdir -p /Users/xxx/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/xxx/Library/Python/2.7/lib/python/site-packages/homebrew.pth

Install requirements for Flatcam

brew install geos
brew install spatialindex
sudo -H pip install numpy matplotlib rtree scipy shapely simplejson
sudo -H pip install svg.path

Download FlatCam from


Start with python 

Applescript to Start / Icon on Mac OS

tell application "Terminal"
    do script "python /Applications/FlatCAM-8.5/; exit"
end tell