qingstor python-sdk 安装错误 src/MD2.c:31:20: fatal error: Python.h: No such file or directory

ubuntu安装python qingstor-sdk,

src/MD2.c:31:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Failed building wheel for pycrypto

解决方法:

  apt-get install python3.6-dev

from: https://stackoverflow.com/questions/11596839/installing-pycrypto-on-ubuntu-fatal-error-on-build

原文地址:https://www.cnblogs.com/buxizhizhoum/p/10416487.html