【问题标题】:Pillow installed, but getting “no module named pillow”安装了枕头,但得到“没有名为枕头的模块”
【发布时间】:2020-03-03 11:33:10
【问题描述】:

【问题讨论】:

  • 我猜你正在使用 PyCharm。您能否再次检查项目解释器是否设置为安装了 PIL 的同一版本的 python? jetbrains.com/help/pycharm/configuring-python-interpreter.html
  • 你是怎么导入的?
  • 请不要使用图片;将终端的输出复制粘贴到您的问题中(例如,作为代码块)。

标签: python django python-imaging-library


【解决方案1】:

激活虚拟环境,然后安装 Pillow 包

点安装枕头

并尝试在您激活的环境中使用枕头包

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-07-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多