码迷,mamicode.com
首页 > 编程语言 > 详细

【转载】Python Version 2.7 required which was not found in the registry 问题解决

时间:2015-08-11 18:18:23      阅读:121      评论:0      收藏:0      [点我收藏+]

标签:

 

Python Version 2.7 required which was not found in the registry 问题解决

分类: 编程语言

今天在安装numpy时,出现了Python Version 2.7 required which was not found in the registry错误,解决方案如下。

 

Python的一些第三方库只到注册表的HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath路径下寻找Python。但是装好的64位Python在HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\InstallPath路径下建立Python的信息。所以,在cmd输入regedit然后将HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\InstallPath路径下的值,复制到HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath路径下,当然没有路径的话一定要新建起来。

然后就可以安装了。

本解决方案适用于安装numpy,SetupTools等只提供了32位安装包的库。

【转载】Python Version 2.7 required which was not found in the registry 问题解决

标签:

原文地址:http://www.cnblogs.com/daleloogn/p/4721279.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!