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

时间:2023-03-08 16:48:40

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://*.com/questions/11596839/installing-pycrypto-on-ubuntu-fatal-error-on-build