You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to build PIL on Windows, you need to prepare few external libraries. Although some libraries did not provide static library for windows 32/64 bits then you need to build these libraries by your hand too. Also, PIL will load by python at last then you are recommended to use same compiler with python to build libraries.
make sure C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin is in your PATH.
win64-only
make sure C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64 is in your PATH.
Copy this file:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat
to this follow folder and rename the file (vcvars64.bat to vcvarsamd64.bat):
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat
build freetype
extract freetype-2.4.11.tar.bz2 into C:\opt\freetype-2.4.11
Thanks! I could build x64 Pillow binaries but have a little difference.
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat
without copying into amd64.