Installing Pillow/PIL on Mavericks

前端 未结 5 878
难免孤独
难免孤独 2020-12-08 11:03

I\'m getting a strange error when trying to install Pillow using pip/easy_install:

cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -O         


        
5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 11:56

    Run this command in the terminal:

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


    More info:

    The compiler that comes with Xcode 5.1 treats unknown passed parameters as errors.

    We're telling it to ignore those "errors"

    source: http://bruteforce.gr/bypassing-clang-error-unknown-argument.html

提交回复
热议问题