flatcam

Open full view…

Installing for macOS Sierra using MacPorts

jimthompson
Sun, 04 Dec 2016 12:44:08 GMT

Took me quite a while to get FlatCAM running on my Mac. Thought I'd share the recipe in case it might be helpful to others. Assumes you have the latest MacPorts for Sierra, at this writing version 2.3.5-10.12-Sierra, installed from scratch (would probably also work with a newly updated MacPorts). Here's what worked for me: sudo port install python27 sudo port install py27-readline sudo port select --set python python27 sudo port select --set python2 python27 sudo port install py27-sip sudo port install py27-pyqt4 (fails: complains about dbus) supo port -f activate bus sudo launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist sudo port install py27-pyqt4 (second time - this one succeeds - but takes a long, long time, most of it in the final configuring and building steps.) sudo port install py27-simplejson sudo port install py27-tkinter sudo port install py27-numpy sudo port install py27-matplotlib sudo port install py27-rtree sudo port install py27-shapely sudo port install py27-cairosvg sudo port install py27-pip sudo python -m pip install svg.path Now you can run python ./FlatCAM.py from the distribution.