Installing Pillow, getting -Wunused-command-line-argument-hard-error-in-future

前端 未结 1 1575
萌比男神i
萌比男神i 2021-01-20 05:29

I cannot get pillow installed.

(env)noah:cupalensic2 broinjc$ which cc
/usr/bin/cc
(env)noah:cupalensic2 broinjc$ cc --version
Apple LLVM version 5.1 (clang-         


        
1条回答
  •  执笔经年
    2021-01-20 06:18

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

    Instructions how to avoid the issue are here:

    Ansible Installation -clang: error: unknown argument: '-mno-fused-madd'

    This should do the trick::

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

    0 讨论(0)
提交回复
热议问题