PIL error: The _imaging C module is not installed

前端 未结 6 1757
情深已故
情深已故 2021-01-04 02:52

I have PIL (Python imaging library) installed.

When I run Python:

import PIL
import Image
import _imaging

I don\'t get errors. Howe

6条回答
  •  别那么骄傲
    2021-01-04 03:12

    why the problem exists, is with PIL 1.1.6? (only 1.1.7), Is that the version 1.1.6 does not use these libraries?

    PIL 1.1.6 also uses its internal C library to speed things up.

    For Windows you should use the precompiled packages. http://www.pythonware.com/products/pil/ offers X86 Windows binaries for 1.1.7. You might run into a problem with 1.1.7 Windows binaries. The freetype C library references a debug CRT that is not available on all machines. You can easily patch the _imagingft.pyd file with a hex editor.

提交回复
热议问题