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
Great, Thanx
This article exactly solved my problem. Thank you!
Thank you works great so far
Hi, thanks a lot for the info!
Just an small addition (I think), you can replace /Users/xxx/ (home folder) by ~/
Regards!
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
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.
sudo -H pip install numpy matplotlib rtree scipy shapely simplejson
and
sudo -H pip install svg.path
Gave me:
Sudo: pip: command not found