python - Why can't I install Pillow on my mac? It gives some errors -


here error installing pillow. i'm using os x mavericks. tried installing pillow through pip install..

_imaging.c:391:28: warning: implicit conversion loses integer precision: 'long' 'int' [-wshorten-64-to-32]                 int temp = pyint_aslong(op);                     ~~~~   ^~~~~~~~~~~~~~~~ _imaging.c:397:28: warning: implicit conversion loses integer precision: 'long' 'int' [-wshorten-64-to-32]                 int temp = pyint_aslong(op);                     ~~~~   ^~~~~~~~~~~~~~~~ _imaging.c:407:28: warning: implicit conversion loses integer precision: 'long' 'int' [-wshorten-64-to-32]                 int temp = pyint_aslong(op);                     ~~~~   ^~~~~~~~~~~~~~~~ _imaging.c:413:28: warning: implicit conversion loses integer precision: 'long' 'int' [-wshorten-64-to-32]                 int temp = pyint_aslong(op);                     ~~~~   ^~~~~~~~~~~~~~~~ _imaging.c:520:17: warning: implicit conversion loses integer precision: 'long' 'int' [-wshorten-64-to-32]             r = pyint_aslong(color);               ~ ^~~~~~~~~~~~~~~~~~~ _imaging.c:533:25: warning: implicit conversion loses integer precision: 'long' '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 macro 'pyint_as_long' #define pyint_as_long(op) (((pyintobject *)(op))->ob_ival)                            ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ _imaging.c:561:13: warning: implicit conversion loses integer precision: 'long' 'int' [-wshorten-64-to-32]         r = pyint_aslong(color);           ~ ^~~~~~~~~~~~~~~~~~~ _imaging.c:575:17: warning: implicit conversion loses integer precision: 'long' 'int' [-wshorten-64-to-32]             r = pyint_aslong(color);               ~ ^~~~~~~~~~~~~~~~~~~ _imaging.c:969:14: warning: implicit conversion loses integer precision: 'long' '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 macro 'pyint_as_long' #define pyint_as_long(op) (((pyintobject *)(op))->ob_ival)                            ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ _imaging.c:977:14: warning: implicit conversion loses integer precision: 'long' '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 macro 'pyint_as_long' #define pyint_as_long(op) (((pyintobject *)(op))->ob_ival)                            ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ _imaging.c:3102:15: warning: implicit conversion loses integer precision: 'long' 'int' [-wshorten-64-to-32]         y = / im->xsize;           ~ ~~^~~~~~~~~~~ 12 warnings generated. 

the terminal hanged afterwards. thing try installing in other ways wanna know why isnt working

update thing has been choking installation when install webp.. hangs in there..

i got it.. did here installed pillow through

sudo archflags=-wno-error=unused-command-line-argument-hard-error-in-future pip install pillow

i realized had problems webp , little-cms manually installed them through downloading packages..


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -