看了网上很多答案,包括:
apt-get install build-essential libssl-dev swig python3-dev
pip3 install M2Crypto
sudo apt-get install python3 python-dev python3-dev \
build-essential libssl-dev libffi-dev \
libxml2-dev libxslt1-dev zlib1g-dev \
python-pip
sudo apt-get install python-dev
sudo apt-get install python-m2crypto
等等答案,最后还是会报错
> 解决方案: Ubuntu版本太高,降到16.04就没有问题了