擅长:python、mysql、java
<p>你的标题应该在/usr/include中。在</p>
<p>例如:</p>
<pre><code>$ ls /usr/include/python2.*/Python.h
/usr/include/python2.5/Python.h
/usr/include/python2.7/Python.h
/usr/include/python2.6/Python.h
</code></pre>
<p>OSX附带的python发行版都没有使用/usr/local。如果您有一个单独的/usr/local,那么您可能在外部安装了python</p>