我认为我遇到的问题是,我的Xcode没有正确安装,我没有我应该的路径.
上一个问题:
Where is gcc on OSX? I have installed Xcode already
是关于我找不到gcc,现在我找不到Python.h
我应该将我的/ Developer目录链接到/usr/???中的其他位置吗?
这是我的输出:
$sudo easy_install mercurialPassword:Searching for mercurialReading http://pypi.python.org/simple/mercurial/Reading http://www.selenic.com/mercurialBest match: mercurial 1.5.1Downloading http://mercurial.selenic.com/release/mercurial-1.5.1.tar.gzProcessing mercurial-1.5.1.tar.gzRunning mercurial-1.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_7RaTq/mercurial-1.5.1/egg-dist-tmp-l7JP3umercurial/base85.c:12:20: error: Python.h: No such file or directory...
提前致谢.
解决方法 可能取决于您拥有的Mac OSX版本,我在以下位置拥有它:/Developer/SDKs/MacOSX10.5.sdk/System/library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h/System/library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h
另外我相信Xcode附带的python版本是一个可以很好地与xcode配合使用的自定义版本,但是如果你使用另一个开发环境,你必须跳过一些箍.
总结以上是内存溢出为你收集整理的xcode – 无法在OSX上构建mercurial – 找不到Python.h全部内容,希望文章能够帮你解决xcode – 无法在OSX上构建mercurial – 找不到Python.h所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)