- 配置环境
cd ~
touch setup.sh
gedit setup.sh
复制以下内容,保存
# install dependencies
sudo apt-get update
sudo apt-get install -y build-essential \
cmake \
gfortran \
git \
wget \
curl \
graphicsmagick \
libgraphicsmagick1-dev \
libatlas-base-dev \
libavcodec-dev \
libavformat-dev \
libboost-all-dev \
libgtk2.0-dev \
libjpeg-dev \
liblapack-dev \
libswscale-dev \
pkg-config \
python3-pip \
python3-dev \
python3-