Otherwise, zlib notwithstanding, you'll need to build from source, requiring an MS Visual C++ compiler, and which isn't straightforward. If it's somehow possible to install the 3.5 wheel for 3.6, that's your best bet. However, Python 3.6 is still in alpha and not officially supported yet, although the tests do all pass for the nightly Python builds (currently 3.6a4). Install with pip install pillow and check for more information. Update: Python 3.6 is now supported by Pillow. In both 32 and 64-bit versions in wheel, egg,Īnd executable installers. Pillow is released with installation wheels on Windows:Ĭompiled for the matrix of supported Pythons
Python 3 install pillow properly code#
ValueError: zlib is required unless explicitly disabled using -disable-zlib, abortingĬommand "c:\python\python36\python.exe -u -c "import setuptools, tokenize _file_='C:\\Users\\ABDULR~1\\AppData\\Local\\Temp\\pip-build-rez5zpri\\Pillow\\setup.py' exec(compile(getattr(tokenize, 'open', open)(_file_).read().replace('\r\n', '\n'), _file_, 'exec'))" install -record C:\Users\ABDULR~1\AppData\Local\Temp\pip-a5bugnjo-record\install-record.txt -single-version-externally-managed -compile" failed with error code 1 in C:\Users\ABDULR~1\AppData\Local\Temp\pip-build-rez5zpri\Pillow\ĭidn't know to add argument -disable-zlib, pip install Pillow -disable-zlib wasn't correct.Ĭouldn't find what matches my system here: Writing manifest file 'Pillow.egg-info\SOURCES.txt'Ĭopying PIL\OleFileIO-README.md -> build\lib.win-amd64-3.6\PILįile "C:\Users\ABDULR~1\AppData\Local\Temp\pip-build-rez5zpri\Pillow\setup.py", line 753, in įile "c:\python\python36\lib\distutils\core.py", line 148, in setupįile "c:\python\python36\lib\distutils\dist.py", line 955, in run_commandsįile "c:\python\python36\lib\distutils\dist.py", line 974, in run_commandįile "c:\python\python36\lib\site-packages\setuptools\command\install.py", line 61, in runįile "c:\python\python36\lib\distutils\command\install.py", line 539, in runįile "c:\python\python36\lib\distutils\cmd.py", line 313, in run_commandįile "c:\python\python36\lib\distutils\command\build.py", line 135, in runįile "c:\python\python36\lib\distutils\command\build_ext.py", line 338, in runįile "C:\Users\ABDULR~1\AppData\Local\Temp\pip-build-rez5zpri\Pillow\setup.py", line 521, in build_extensions Warning: no previously-included files matching '*.so' found anywhere in distribution Warning: no previously-included files matching '*.pyc' found anywhere in distribution Warning: no previously-included files matching '.git*' found anywhere in distribution Warning: no previously-included files found matching 'tox.ini' Warning: no previously-included files found matching 'build_children.sh' Warning: no previously-included files found matching 'appveyor.yml' Warning: no previously-included files found matching '.landscape.yaml' Warning: no previously-included files found matching '.editorconfig' Warning: no previously-included files found matching '.coveragerc' No previously-included directories found matching 'docs\_static' Reading manifest file 'Pillow.egg-info\SOURCES.txt' Warning: manifest_maker: standard file '-c' not found Writing top-level names to Pillow.egg-info\top_level.txt
Writing dependency_links to Pillow.egg-info\dependency_links.txt errorĬomplete output from command c:\python\python36\python.exe -u -c "import setuptools, tokenize _file_='C:\\Users\\ABDULR~1\\AppData\\Local\\Temp\\pip-build-rez5zpri\\Pillow\\setup.py' exec(compile(getattr(tokenize, 'open', open)(_file_).read().replace('\r\n', '\n'), _file_, 'exec'))" install -record C:\Users\ABDULR~1\AppData\Local\Temp\pip-a5bugnjo-record\install-record.txt -single-version-externally-managed -compile: Other than downgrading my Python, I couldn't find anyway to install PIL on my Python 3.6Ĭould not find a version that satisfies the requirement pil (from versions: ) I have a script that requires PIL to run.