LoginSignup
1
0

More than 1 year has passed since last update.

エラーが出た

UbuntuからFreeBSDにPython環境を移行しようとして詰まりました。

ImportError: The _imagingft C module is not installed

というエラーが出てしまい、しばらく解決しなかったのでメモ。

試したけどダメだったこと

以下のコマンドを試してPillowの再インストールをしてみたものの、できませんでした。

sudo pkg install freetype

最終的に解決したコマンド

sudo pkg install py38-pillow
sudo pip uninstall Pillow
sudo pip install Pillow --no-cache-dir

参考
https://buildmedia.readthedocs.org/media/pdf/pillow/latest/pillow.pdf

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0