顯示具有 python 標籤的文章。 顯示所有文章
顯示具有 python 標籤的文章。 顯示所有文章

2013年9月23日 星期一

fatal error: Python.h: No such file or directory

# python setup.py build
時出現

fatal error: Python.h: No such file or directory

Ubuntu 上的解法就是

sudo apt-get install python-dev