Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing AVX2 version with zlib and libjpeg-turbo (python 3.11 or 3.12) on Windows: Instructions #135

Open
jet082 opened this issue Jun 6, 2024 · 0 comments

Comments

@jet082
Copy link

jet082 commented Jun 6, 2024

This is not a bug report, just a suggestion for windows install instructions.

Here's my step-by-step.

  1. Optionally, make sure you're running Python 3.11. Otherwise you have a slightly different final step.
  2. git clone https://github.com/microsoft/vcpkg.git
  3. Run:
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg.exe install zlib libjpeg-turbo freetype libwebp libpng tiff
$env:VCPKG_ROOT = "C:\Your\Path\To\vcpkg"
$env:PKG_ROOT = "$env:VCPKG_ROOT\installed\x64-windows"
$env:INCLUDE = "$env:INCLUDE;$env:PKG_ROOT\include"
$env:LIB = "$env:LIB;$env:PKG_ROOT\lib"
$CC="cl /arch:AVX2"
  1. pip install -U --force-reinstall pillow-simd
@jet082 jet082 changed the title Installing AVX2/libjpeg-turbo (python 3.11 or 3.12) on Windows: Instructions Installing AVX2 version with zlib and libjpeg-turbo (python 3.11 or 3.12) on Windows: Instructions Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant