按git-hub教程安装OpenPLC_Editor老是缺胳膊少腿,经过几番折腾,在
OpenPLC_Editor的installer.sh中找到以下代码:
sudo apt-get -y -qq update
sudo apt-get -y -qq install build-essential pkg-config bison flex autoconf automake libtool make git libssl-dev python2.7 python-pip python-wxgtk3.0 pip2 install future zeroconf==0.19.1 numpy matplotlib==2.0.2 lxml pyro sslpsk
OpenPLC_Editor\editor的readme.txt中发现安装Prerequisites如下:
# Ubuntu/Debian :
sudo apt-get install build-essential bison flex autoconf
sudo apt-get install python-wxgtk3.0 pyro mercurial
sudo apt-get install python-nevow python-matplotlib python-lxml python-zeroconf python-cycler
sudo apt-get install python-autobahn python-u-msgpack
sudo apt-get install libpython2.7-dev
pip2 install --user sslpsk posix_spawn
提前装完这些依赖,再按github教程安装就不会出现问题啦