安装枕头,在将来会得到

编程入门 行业动态 更新时间:2024-10-27 04:26:16
本文介绍了安装枕头,在将来会得到-Wunused-command-line-argument-hard-error的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我不能安装枕头。

(env)noah:cupalensic2 broinjc$ which cc /usr/bin/cc (env)noah:cupalensic2 broinjc$ cc --version Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.1.0 Thread model: posix

我跑了$ code安装夹层,当它满足枕头时,它就被砸了...

I ran pip install mezzanine and when it got to satisfying pillow it screwed up...

cc -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 -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -pipe -arch x86_64 -DHAVE_LIBZ -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/opt/X11/include/freetype2 -I/Users/broinjc/cupalensic2/env/build/pillow/libImaging -I/Users/broinjc/cupalensic2/env/include -I/usr/local/include -I/opt/X11/include -I/usr/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _imaging.c -o build/temp.macosx-10.9-intel-2.7/_imaging.o clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future error: command 'cc' failed with exit status 1 ---------------------------------------- Cleaning up... Command /Users/broinjc/cupalensic2/env/bin/python -c "import setuptools;__file__='/Users/broinjc/cupalensic2/env/build/pillow/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/lg/y_cwnrnd3rn4x_j1sbd1mg_h0000gn/T/pip-o0HQHe-record/install-record.txt --single-version-externally-managed --install-headers /Users/broinjc/cupalensic2/env/include/site/python2.7 failed with error code 1 in /Users/broinjc/cupalensic2/env/build/pillow Storing complete log in /Users/broinjc/.pip/pip.log

任何想法在这里可能发生什么?

Any idea what might be going on here?

推荐答案

这是OSX和最近的Xcode升级的已知问题。

This is a known issue with OSX and recent Xcode upgrade.

如何避免此问题的说明如下:

Instructions how to avoid the issue are here:

可安装-clang:error:unknown参数: '-mno-fused-madd'

这应该是诀窍::

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install Pillow

更多推荐

安装枕头,在将来会得到

本文发布于:2023-11-25 18:32:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1630868.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:枕头   将来

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!