@ gordon33 the answer is good, but if you don’t have root (for example, Travis-CI), you can also add an option to install pip, which will inform you about passing parameters to create environment and compiler parameters:
pip install --global-option=build_ext --global-option="-I/usr/include/x86_64-linux-gnu" m2crypto
source
share