Skip to content

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

@jet082

Description

@jet082

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions