我正在尝试安装所述库以与 Python 一起使用。我尝试下载适用于 Windows 的可执行安装程序,它可以运行,但说它没有找到 Python 安装。然后尝试注册(http://effbot.org/zone/python-register.htm)Python,但脚本说它无法注册(尽管密钥出现在我的寄存器中)。
然后我尝试下载源包:我运行 setup.py build 并且它可以工作,但是当我运行 setup.py install 时,它显示以下内容:
running install
running build
running build_py
running build_ext
building '_imaging' extension
error: Unable to find vcvarsall.bat
我能做些什么?
更新(2014 年 5 月):正如一些评论和答案所说,PIL 目前是无人管理的,现在要走的路是使用 Pillow(https://pypi.python.org/pypi/Pillow/,pip install pillow
)。