Can't install PIL after Mac OS X 10.9

前端 未结 28 1037
长情又很酷
长情又很酷 2020-11-28 17:41

I\'ve just updated my Mac OS to 10.9 and I discovered that some (all?) of my Python modules are not here anymore, especially the Image one.

So I try to execute

28条回答
  •  北海茫月
    2020-11-28 18:42

    I didn't want to install XCode (I don't use it) and I'm loath to fiddle with Application directory. I've cribbed from the many answers in this post and the following two steps work for me with 10.9.5:

    sudo easy_install pip
    sudo pip install pillow
    

    It did appear to me strange that I had to use easy_install to install pip. But pip didn't want to work for me before that (re-)install.

提交回复
热议问题