2017年2月14日 星期二

[Cyclone] 雕刻機 (5/x) - bCNC 安裝



Install package
sudo pacman -S python2-pyserial
sudo pacman -S tk

Download bCNC

Code change
--- bCNC-master/bCNC    2017-02-14 21:41:20.799124331 +0800
+++ test/bCNC-master/bCNC   2017-02-11 21:19:53.000000000 +0800
@@ -4,7 +4,7 @@
 PYTHONPATH=${DIR}:${DIR}/lib:${DIR}/plugins
 export DIR PYTHONPATH
 if [ .$PYTHON = . ]; then
-   PYTHON=python2
+   PYTHON=python
 fi
 ${PYTHON} ${DIR}/bCNC.py $*
 #python -m cProfile -o bCNC.out ${DIR}/bCNC.py $*

sudo ./bCNC

Reference:

沒有留言:

張貼留言