安装python模块时出现:error: Setup script exited with error: command 'gcc' failed with exit status 1

通过安装如下库即可解决:

sudo apt-get install python-dev
原文地址:https://www.cnblogs.com/xiazh/p/2616474.html