对于我所读到的,我需要Python-Dev,如何在OSX上安装它?
我认为我遇到的问题是,我的Xcode没有正确安装,我没有我应该的路径.
上一个问题:
是关于我找不到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
...
Run Code Online (Sandbox Code Playgroud)
提前致谢.
安装了Xcode,python + django启动并运行顺畅.
我在写Running:
pip install PIL
Run Code Online (Sandbox Code Playgroud)
响应:
Downloading/unpacking PIL
Running setup.py egg_info for package PIL
WARNING: '' not a valid package name; please use only.-separated package names in setup.py
Installing collected packages: PIL
Running setup.py install for PIL
WARNING: '' not a valid package name; please use only.-separated package names in setup.py
--- using frameworks at /System/Library/Frameworks
building '_imaging' extension
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g …Run Code Online (Sandbox Code Playgroud)