簡體   English   中英

詩歌安裝失敗並出現 EnvCommandError

[英]Poetry install fails with EnvCommandError

我正在使用 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)

通過運行brew install libjpeg解決。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM