Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot install with Pillow-3.4.2.win-amd64-py3.5.exe: Python version 3.5-32 required, which was not found in the registry. #2285
The Error Message During Install
My system is Windows 7 Professional SP1. I had downloaded and successfully installed python-3.5.2-amd64.exe and python-3.6.0 from Python official website.
By calling "python" console, "pip install" and run some other commands in the windows console, I confirmed both of those 2 Python installation is successful.
Next I tried to download and install the Pillow-3.4.2.win-amd64-py3.5.exe, but an error is encountered:
At this time, I clicked "Ok" button to route to the next step, I can see both "Python Directory" and "Installation Directory" both are blank.
Some Failed Attempts
So I search my registry, I can see both 2 python are existing:
This set contains a value "Python 3.5" for the key:
and the 3.6 also has the correct key with its values.
After search few days of google and stack overflow, I copied those 2 registry key sets fully into HKEY_LOCAL_MACHINE as following:
Somehow the Pillow 3.4.2 installer is still populate the same error with same message.
Could someone look into this issue?
After few failure attempts, I tried to directly download .whl file from this address:
and find this .whl file:
After download it and copy to Python 3.6 folder, I opened a windows command console, go to my Python 3.6 folder use "pip install Pillow-3.4.2-cp36-cp36m-win_amd64.whl" and it works.
I still didn't find the root cause of this issue (totally no idea why windows 64 installer not able to locate the Python 3.5 directory), somehow use .whl file it is a work around for this issue.
The root cause is you (or pip) tried to install a Python 3.5 wheel for Python 3.6. Also we don't officially support Python 3.6 yet and don't test for it on our CI, which is why the Python 3.6 wheel isn't on PyPI. You can see wheels for other supported Python versions there.