【发布时间】:2019-06-15 12:55:50
【问题描述】:
对于我所阅读的内容,我需要 Python-Dev,如何在 OSX 上安装它?
我认为我遇到的问题是,我的 Xcode 没有正确安装,而且我没有应该的路径。
上一个问题:
Where is gcc on OSX? I have installed Xcode already
原来我找不到 gcc,现在我找不到 Python.h
我应该将我的 /Developer 目录链接到 /usr/ 中的其他位置吗?
这是我的输出:
$ sudo easy_install mercurial
Password:
Searching for mercurial
Reading http://pypi.python.org/simple/mercurial/
Reading http://www.selenic.com/mercurial
Best match: mercurial 1.5.1
Downloading http://mercurial.selenic.com/release/mercurial-1.5.1.tar.gz
Processing mercurial-1.5.1.tar.gz
Running mercurial-1.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-_7RaTq/mercurial-1.5.1/egg-dist-tmp-l7JP3u
mercurial/base85.c:12:20: error: Python.h: No such file or directory
...
提前致谢。
【问题讨论】:
标签: xcode macos mercurial build