安装新环境的时候,很容易出现以下错误:

X86-64-linux-gcc faild with exit...


执行下面代码就可以了

apt-get install python-dev


如果是python3版本:

apt-get install python3-dev