橘子seo查询,推广网站seo,在线制作视频的网站,做网站行业统称叫什么行业下载OpenPLC Editor for macOS.zip文件后#xff0c;使用tar -zvxf命令解压#xff0c;然后将OpenPLC Editor拖入到应用程序文件夹 右键点击OpenPLC Editor#xff0c;打开这个文件#xff0c;替换为以下内容 #!/bin/bash…下载OpenPLC Editor for macOS.zip文件后使用tar -zvxf命令解压然后将OpenPLC Editor拖入到应用程序文件夹 右键点击OpenPLC Editor打开这个文件替换为以下内容 #!/bin/bash
# echo Installing Xcode Command Line Tools...
# xcode-select --install
# echo Installing Brew...
# /bin/bash -c $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)CFBAK$CFLAGS
CXFBAK$CXXFLAGS
export CFLAGS-I$(brew --prefix)/include
export CXXFLAGS-I$(brew --prefix)/includeif test -f /opt/homebrew/bin/brew; then#/opt/homebrew/bin/brew install python3.9#/opt/homebrew/bin/python3.9 -m pip install --upgrade pip#python3 -m pip install wxPython4.1.1 lxml4.6.2 future matplotlib zeroconf pyserial pypubsub pyro5rm /Applications/OpenPLC Editor.app/Contents/MacOS/not-installedclearecho echo All dependencies were successfully installed. You can now close this terminal windowecho exit
elif test -f /usr/local/bin/brew; then# /usr/local/bin/brew install python3.9# /usr/local/bin/python3.9 -m pip install --upgrade pip# /usr/local/bin/python3.9 -m pip install wxPython4.1.1 lxml4.6.2 future matplotlib zeroconf pyserial pypubsub pyro5rm /Applications/OpenPLC Editor.app/Contents/MacOS/not-installedclearecho echo All dependencies were successfully installed. You can now close this terminal windowecho exit
elseecho echo There was an error installing Brew, Python or one of its dependencies. Please check the logsecho exit
fiexport CFLAGS$CFBAK
export CXXFLAGS$CXFBAK然后自己手动在终端执行一个命令安装依赖包
python3 -m pip install wxPython4.1.1 lxml4.6.2 future matplotlib zeroconf pyserial pypubsub pyro5记得保存然后双击打开点击是即可运行。