首页 > 编程语言 > 详细

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

时间:2015-08-11 18:16:30      阅读:289      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!