本文共 105 字,大约阅读时间需要 1 分钟。
在python调用c代码时,需要用到python.h文件,但这个文件没有在python编译器的默认安装包中,所以需要单独安装。
在ubuntu下:
sudo apt-get install python-dev
转载地址:http://rtfob.baihongyu.com/