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

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

Closed
lothian173 opened this Issue Dec 12, 2016 · 4 comments

Comments

Projects
None yet
5 participants
@lothian173

lothian173 commented Dec 12, 2016

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:
"Python version 3.5-32 required, which was not found in the registry. "

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:

  • HKEY_CURRENT_USER\Software\Python\PythonCore\3.5\

This set contains a value "Python 3.5" for the key:

  • HKEY_CURRENT_USER\Software\Python\PythonCore\3.5\InstallPath\InstallGroup

and the 3.6 also has the correct key with its values.

  • HKEY_CURRENT_USER\Software\Python\PythonCore\3.6...

After search few days of google and stack overflow, I copied those 2 registry key sets fully into HKEY_LOCAL_MACHINE as following:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\3.5...
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\3.6...

Somehow the Pillow 3.4.2 installer is still populate the same error with same message.

Could someone look into this issue?

@radarhere radarhere added the Windows label Dec 12, 2016

@lothian173

This comment has been minimized.

Show comment
Hide comment
@lothian173

lothian173 Dec 13, 2016

After few failure attempts, I tried to directly download .whl file from this address:

and find this .whl file:

Pillow-3.4.2-cp36-cp36m-win_amd64.whl

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.

lothian173 commented Dec 13, 2016

After few failure attempts, I tried to directly download .whl file from this address:

and find this .whl file:

Pillow-3.4.2-cp36-cp36m-win_amd64.whl

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.

@hugovk

This comment has been minimized.

Show comment
Hide comment
@hugovk

hugovk Dec 13, 2016

Member

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.

I see Python 3.6.0 final is expected on 2016-12-16 with a release candidate out now, so hopefully the next Pillow release (due on 1st Jan 2017) will support Python 3.6 and include the wheels.

Member

hugovk commented Dec 13, 2016

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.

I see Python 3.6.0 final is expected on 2016-12-16 with a release candidate out now, so hopefully the next Pillow release (due on 1st Jan 2017) will support Python 3.6 and include the wheels.

@cgohlke

This comment has been minimized.

Show comment
Hide comment
@cgohlke

cgohlke Dec 13, 2016

Contributor

Re "Python version 3.5-32 required, which was not found in the registry. ". This is CPython issue #28680. Interestingly this error was fixed in Python 3.5.2 for 32-bit but the fix introduced the same error on 64-bit...

Contributor

cgohlke commented Dec 13, 2016

Re "Python version 3.5-32 required, which was not found in the registry. ". This is CPython issue #28680. Interestingly this error was fixed in Python 3.5.2 for 32-bit but the fix introduced the same error on 64-bit...

@wiredfool

This comment has been minimized.

Show comment
Hide comment
@wiredfool

wiredfool Dec 27, 2016

Member

Closing as a python error -- not our issue

Member

wiredfool commented Dec 27, 2016

Closing as a python error -- not our issue

@wiredfool wiredfool closed this Dec 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment