0

The _imaging C module is not installed

 1 year ago
source link: https://fann.im/blog/2010/07/02/the-imagiing-c-module-is-not-installed/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

The _imaging C module is not installed

Jul 2, 2010

Download jpeglib.

cd jpeg-7
sudo make clean
sudo CC="gcc -arch i386" ./configure --enable-shared --enable-static
sudo make
sudo make install

Download PIL.

sudo rm -Rf build
//Edit JPEG_ROOT = libinclude("/usr/local") in setup.py
sudo python setup.py build
sudo python setup.py install

Was this page helpful?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK