[Solved] numpy python 3.4.1 : Python 3.4 not found in registry

I want to plot few graphs with matplotlib and I have a windows machine Firstly I need to install, so I download the file from . Well, when I tried to run, it throws a pop up saying it failed to find the version 3.4 in registry. This is a bit strange because my python version is 3.4.1.

Of course, I did search through the forum. I happened to look into numpy python 3.4.1 installation: Python 3.4 not found in registry which is same as my problem. but my first question:

1) The matplotlib official page gives me a direct link to install “.exe” for windows with python version 3.4. If this is true then why this problem should occur in the first place.

2) My second question, how one can actually find whether the downloading package version is the right match for the current python version installed on local PC.

Solution #1:

The windows .exe installer should work for all sub-versions of a given Python installation, this means that if you use the 3.4 installer it should work for 3.4.0, 3.4.1, and 3.4.2.

You need to check that you are using the correct version of the installer, 32-bit or 64-bit. The installer should match the Python version you are using, which may or may not match your system version. This is to say that if you had a 64-bit system and used 32-bit Python, you should use the 32-bit installer.

If it still doesn’t work, I’d suggest you re-install Python and try again, it’s possible that something has messed with your registry settings.

Originally I thought that the sub-version mattered, but in fact it does not. I raised an issue with matplotlib here and was corrected by Christoph Gohlke who maintains the .exe installations.

Incidentally (for someone reading this in the future as you know yours) if you need to find your current Python version you can simply type python -V in the command line and it’ll return the details, for example mine returns:

Python 3.4.0

Respondent: Ffisegydd
Solution #2:

I had the same problem installing on python 3.4.3: version 3.4 not found in registry. Looking in the registry under HKEY_LOCAL_MACHINESOFTWARE there was no Python key, so matplotlib is right.

Further searching I found this SO article, Installing SetupTools on 64-bit Windows, that provided a registry script to add the necessary keys for Python 2.7. I modified the script for 3.4 and added the keys to the registry. Install of matplotlib then completed successfully. It seems the registry keys didn’t get added when I installed Python 3.4.3 (sub-installer that installs registry keys is invoked at user privilege level??).

The modified registry key file I used. Save it to a text file with a .reg extension.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREPythonPythonCore3.4HelpMain Python Documentation]
@="Python 3.4"

Then double click the .reg file to add the registry.

Respondent: dfahammer
Solution #3:

I had this problem with Python3.4.2 and went back and did a reinstall. This time I paid attention to what I was doing. While installing Python3.4.2 (or 2.7) a list of options popup. The last item on the list of options is “Add Python to path”. On my installation this option was marked with an X and I assume it was on the first installation. I removed the X and continued the install of Python.

When I installed numpy, it found Python in the registry and loaded okay.

Respondent: Sam
Solution #4:
  • Open regedit.
  • Find python in HKEY_LOCAL_MACHINE.
  • Export it to some location on your hard drive.
  • Open the exported file in any editor.
  • Replace all HKEY_LOCAL_MACHINE with HKEY_CURRENT_USER and save
    the file.
  • Now just double click on the .reg file to add this key to registry.
  • If you go back to the registry using regedit, you will find python in
    HKEY_CURRENT_USER as well.

I really wish ‘pip install numpy’ worked just like it did for python 2.7.

Respondent: Vikas
The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .

Most Popular

To Top
India and Pakistan’s steroid-soaked rhetoric over Kashmir will come back to haunt them both clenbuterol australia bossier man pleads guilty for leadership role in anabolic steriod distribution conspiracy