由于PIL / Pillow,无法在python中导入数据共享器

时间:2017-06-30 14:45:43

标签: python datashader

将数据分析器导入python 2时,出现错误

while (rs.next()){
    System.out.println(rs.getString(1));
}
conn.close();

ImportError:_imaging扩展程序是为另一个版本的Pillow或PIL

构建的

然后我尝试通过pip install PIL修复PIL - 允许外部PIL - 允许未经验证的PIL并出现错误

  from . import _imaging as core
 57     if PILLOW_VERSION != getattr(core, 'PILLOW_VERSION', None):
---> 58         raise ImportError("The _imaging extension was built for     another "
 59                           "version of Pillow or PIL")
 60 

有什么建议吗?我在安装了conda / pip的mac上运行python 2。非常感谢。

0 个答案:

没有答案