【问题标题】:Import problems python [PILLOW] [duplicate]导入问题python [PILLOW] [重复]
【发布时间】:2016-05-11 06:46:31
【问题描述】:

我想import pillow 模块但是有一些问题。我做了 pip install PillowModule.whl ,从这个site 下载

通过PyCharm module install 但是当我尝试导入它时,我收到错误ImportError: No module named 'Pillow'

任何建议都是有帮助的。

【问题讨论】:

    标签: python module pycharm importerror pillow


    【解决方案1】:

    Pillow 是 PIL 的一个分支,一个较旧的 python 成像库

    要导入 Pillow,请执行以下操作:

    from PIL import Image
    

    编辑:这个stackoverflow问题Package (Python PIL/Pillow) installed but I can't import it

    值得一读。

    【讨论】:

      猜你喜欢
      • 2019-03-29
      • 2020-07-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多