Installing PIL (Python Imaging Library) in Win7 64 bits, Python 2.6.4

后端 未结 10 759
醉酒成梦
醉酒成梦 2020-12-04 06:44

I\'m trying to install said library for use with Python. I tried downloading the executable installer for Windows, which runs, but says it doesn\'t find a Python installatio

相关标签:
10条回答
  • 2020-12-04 07:07

    Compiling PIL on Windows x64 is apparently a bit of a pain. (Well, compiling anything on Windows is a bit of a pain in my experience. But still.) As well as PIL itself you'll need to build many dependencies. See these notes from the mailing list too.

    There's an unofficial precompiled binary for x64 linked from this message, but I haven't tried it myself. Might be worth a go if you don't mind the download being from one of those slightly dodgy file-upload sites. Other than that... well, you could always give up and instead the 32-bit Python binary instead.

    0 讨论(0)
  • 2020-12-04 07:08

    Pillow is new version

    PIL-1.1.7.win-amd64-py2.x installers are available at

    http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil

    0 讨论(0)
  • 2020-12-04 07:14

    I think I had a similar problem in the past, with another python library. I believe that it was a windows permission issue. Try adding "Users" to your python directory, and give them full access.

    0 讨论(0)
  • 2020-12-04 07:14

    Make sure you have the Visual C++ Redistributable package installed on your machine.

    0 讨论(0)
提交回复
热议问题