Skip to content

Installing FlatCam on macOS Sierra

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

download and install Python 2.7.x from python.org

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.org 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 http://flatcam.org/download

Unzip

Start with python FlatCam.py 

Applescript to Start / Icon on Mac OS

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

7 thoughts on “Installing FlatCam on macOS Sierra”

  1. Hi:
    I have an error creating:
    mkdir -p /Users/xxx/Library/Python/2.7/lib/python/site-packages
    mkdir: /Users/xxx/Library/Python/2.7/lib/python/site-packages: Permission denied

    any sugestion?

    Regards

  2. have you replaced `xxx` with your user’s shortname?
    /Users/myuser/ is your home directory and the command should create some folders in your user’s library folder.

  3. sudo -H pip install numpy matplotlib rtree scipy shapely simplejson

    and

    sudo -H pip install svg.path

    Gave me:
    Sudo: pip: command not found

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.