apt update
apt upgrade
apt install python python-dev clang fftw libzmq libzmq-dev freetype freetype-dev libpng libpng-dev pkg-config zlib zlib-dev libiconv libiconv-dev curl
$ curl -L https://its-pointless.github.io/setup-pointless-repo.sh | sh
pip install numpy pandas matplotlib
pkg install scipy
pip install scikit-learn
LDFLAGS=" -llog -lpython3" python3 setup.py install --set ‘DCMAKE_INSTALL_PREFIX=$PREFIX‘
pkg-config --cflags freetype2
原文:https://blog.51cto.com/youerning/2396652