Windows 7 x64にPython 2.7があります。私はvirtualenvをインストールし、virtualaxvでプロジェクトにPinaxをインストールしました。 syncdbにしようとすると、PILが必要であるというエラーが表示されます。 2.7用のPIL 1.1.7をインストールしようとしましたが、正しくインストールされませんでした。 syncdbを実行したとき、私は次のエラーを受け取ります。PINAX&PIL Windows 7でのインストール
Error: One or more models did not validate:
photologue.photo: "image": To use ImageFields, you need to install the Python Im
aging Library. Get it at http://www.pythonware.com/products/pil/ .
photologue.watermark: "image": To use ImageFields, you need to install the Pytho
n Imaging Library. Get it at http://www.pythonware.com/products/pil/ .
avatar.avatar: "avatar": To use ImageFields, you need to install the Python Imag
ing Library. Get it at http://www.pythonware.com/products/pil/ .
photos.image: "image": To use ImageFields, you need to install the Python Imagin
g Library. Get it at http://www.pythonware.com/products/pil/ .
これはx32であると私は理解しています。だから私はhttp://www.lfd.uci.edu/~gohlke/pythonlibs/#pilからunoffical x64バージョンをダウンロードしてインストールしようとしました。 WindowsインストーラはPythonを見つけることができないので、PILをインストールすることはできません。私はレジストリをチェックし、Pythonはそこにあります。
私は紛失していると思っていますか?
は、インストールされたPythonのx64バージョンですか? – MatToufoutu
32ビットPythonではなく、64ビットPythonがインストールされていることを確認してください。あなたが32ビットPython 2.7がインストールされた64ビットWindows 7にリンクしたPILの64ビット版をインストールしようとすると、同じエラーが発生します。 – agf
ビンゴ。助けてくれてありがとう。 – Greg