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

posted on 2019-02-22 09:35  Go_Forward  阅读(340)  评论(0编辑  收藏  举报