Frank Yeung
Frank Yeung

Reputation: 315

ImportError: The _imagingft C module is not installed

I use django-simple-captcha in django.

Command: ./manage.py test apatcha shows the error "ImportError: The _imagingft C module is not installed"

I already install the package in the order below:

yum install freetype-devel libjpeg-devel libpng-devel
pip uninstall Pillow
pip uninstall Pillow-PIL
pip install Pillow
pip install Pillow-PIL

But it still doesn't work. Where am I wrong?

System:CentOS 6.5

Python: The _imagingft C module is not installed

The link above doesn't solve my problem, otherwise I won't be here. Finally, I solve my problem by download the tar.gz file from official website and install it manually.

Upvotes: 2

Views: 6505

Answers (2)

Ankit Jain
Ankit Jain

Reputation: 672

pip uninstall PIL - and - pip install pillow

for windows these 2 commands worked for me

Upvotes: 3

Frank Yeung
Frank Yeung

Reputation: 315

Python: The _imagingft C module is not installed

The link above doesn't solve my problem, otherwise I won't be here. Finally, I solve my problem by download the tar.gz file from official website and install it manually.

By the way, should I always paste the hot links which didn't solve my problem to prove I did googled before I ask?

Upvotes: 1

Related Questions