我安装了 Pillow
,之后我想做:
from PIL import Image
我得到以下错误:
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 61, in <module>
ImportError: cannot import name _imaging
但是,如果我单独导入这些,一切都很好,即:
import _imaging
import Image
你知道可能是什么问题吗?