【问题标题】:Poetry install fails with EnvCommandError诗歌安装失败并出现 EnvCommandError
【发布时间】:2021-04-24 15:07:19
【问题描述】:

我正在使用 macOS BigSur 11.1、诗歌 1.1.4 和 python 3.8.6。 在我的诗歌项目中,我尝试运行poetry add pillow,但结果为EnvCommandError

The headers or library files could not be found for jpeg,
    a required dependency when compiling Pillow from source.

枕头位于:

Pillow in /Users/<user>/.pyenv/versions/3.8.6/lib/python3.8/site-packages (8.1.0)

【问题讨论】:

    标签: python macos python-imaging-library macos-big-sur python-poetry


    【解决方案1】:

    通过运行brew install libjpeg 解决。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-06-13
      • 2022-09-24
      • 1970-01-01
      • 2021-10-24
      • 1970-01-01
      • 2022-01-23
      • 1970-01-01
      相关资源
      最近更新 更多