Mic*_*ser 10 python django pip virtualenv osx-mavericks
尝试discount在osx 10.9 Mavericks上安装软件包时,我遇到了很多问题.我正在使用django框架.
我的步骤是(在启用virtualenv时):
pip install discount
Run Code Online (Sandbox Code Playgroud)
然后我得到:
.
.
.
1 error generated.
error: command 'cc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /Users/KaeserMic/Sites/2013/Duotones/naturkostbar/env/bin/python -c "import setuptools;__file__='/Users/KaeserMic/Sites/2013/Duotones/naturkostbar/env/build/discount/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/4b/smwv2y_s32z044brp6t__ssh0000gp/T/pip-65i7x3-record/install-record.txt --single-version-externally-managed --install-headers /Users/KaeserMic/Sites/2013/Duotones/naturkostbar/env/include/site/python2.7 failed with error code 1 in /Users/KaeserMic/Sites/2013/Duotones/naturkostbar/env/build/discount
Storing complete log in /Users/KaeserMic/.pip/pip.log
Run Code Online (Sandbox Code Playgroud)
这是完整的日志:
https://gist.github.com/MichaelKaeser/7302829
我做的事情:
任何想法如何解决这个问题?提前致谢.
Par*_*ker 21
尝试:
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install discount
这似乎是在XCode 5.1中的LLVM问题,如下所述:无法在OS X上安装mysql gem
| 归档时间: |
|
| 查看次数: |
9921 次 |
| 最近记录: |