2014-03-24 5 views
0

베개 설치 오류입니다. OS X Mavericks를 사용하고 있습니다. 나는Mac에 베개를 설치할 수없는 이유는 무엇입니까? 약간의 오차가 있습니다.

_imaging.c:391:28: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
       int temp = PyInt_AsLong(op); 
        ~~~~ ^~~~~~~~~~~~~~~~ 
_imaging.c:397:28: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
       int temp = PyInt_AsLong(op); 
        ~~~~ ^~~~~~~~~~~~~~~~ 
_imaging.c:407:28: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
       int temp = PyInt_AsLong(op); 
        ~~~~ ^~~~~~~~~~~~~~~~ 
_imaging.c:413:28: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
       int temp = PyInt_AsLong(op); 
        ~~~~ ^~~~~~~~~~~~~~~~ 
_imaging.c:520:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
      r = PyInt_AsLong(color); 
       ~ ^~~~~~~~~~~~~~~~~~~ 
_imaging.c:533:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
        r = PyInt_AS_LONG(color); 
         ~ ^~~~~~~~~~~~~~~~~~~~ 
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/intobject.h:52:51: note: expanded from macro 'PyInt_AS_LONG' 
#define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival) 
          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 
_imaging.c:561:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
     r = PyInt_AsLong(color); 
      ~ ^~~~~~~~~~~~~~~~~~~ 
_imaging.c:575:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
      r = PyInt_AsLong(color); 
       ~ ^~~~~~~~~~~~~~~~~~~ 
_imaging.c:969:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
     *x = PyInt_AS_LONG(value); 
      ~ ^~~~~~~~~~~~~~~~~~~~ 
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/intobject.h:52:51: note: expanded from macro 'PyInt_AS_LONG' 
#define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival) 
          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 
_imaging.c:977:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
     *y = PyInt_AS_LONG(value); 
      ~ ^~~~~~~~~~~~~~~~~~~~ 
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/intobject.h:52:51: note: expanded from macro 'PyInt_AS_LONG' 
#define PyInt_AS_LONG(op) (((PyIntObject *)(op))->ob_ival) 
          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 
_imaging.c:3102:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 
     y = i/im->xsize; 
      ~ ~~^~~~~~~~~~~ 
12 warnings generated. 

이후 교수형 터미널 .. 핍 설치를 통해 베개를 설치했습니다. ..

그것은 항상 거기에 달려 .. 문제는 내가 다른 방법에 설치 시도 할 수 있지만 나는 내가 WebP 형식을 설치할 때

UPDATE 내 설치를 질식 된 것은입니다 작업 밤은 이유를 알고 싶어요

+0

모두 경고 *를 무시하는 것이 안전합니다. 출력에 오류가 있습니까? –

+0

당신이 제공 한 것에 대해 이야기하기가 어렵습니다. 성공한 경우'python setup.py build_ext'와 함께'pill '을 빌드하고'python setup.py build'를 빌드 해보십시오. 그들이 돌아올 가능성이 있기 때문에 다시 돌아와서 핍 통행과 다른 결과를 게시하십시오. – fish2000

+0

@RobAgar pip를 설치 한 후 그냥 응답하지 않습니다. – Leonid

답변

1

겠어요 .. 내가 실제로 여기했던 내가 수동으로 다운로드 패키지를 통해 설치 그래서 나는 WebP 형식과 작은-CMS와 문제가 있었다 실현

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

을 통해 베개 설치되어있는 ..

,
+0

안녕하세요 Leonid. 해킹을 사용했는데 성공적으로 설치 한 것처럼 보이지만 파이썬 셸에서 가져올 수 없으며 django runserver는 그 존재를 인식하지 못합니다. 무슨 일이 일어 났을까요? – mtndesign

관련 문제