码迷,mamicode.com
首页 > Windows程序 > 详细

win10安装wmi报错问题

时间:2015-10-21 20:43:12      阅读:1093      评论:0      收藏:0      [点我收藏+]

标签:

在win10上,安装wmi,首先下载https://pypi.python.org/pypi/WMI/#downloads,将wmi下载下来

安装过程中,会报错,No Python installation found in the registry

接下来

Apparently (having faced related 64- and 32-bit issues on OS X) there is a bug in the Windows installer. I stumbled across this workaround, which might help - basically, you create your own registry value:

HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Python/PythonCore/2.7/InstallPath

and copy over the InstallPath value from:

HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/2.7/InstallPath
 
同时需要安装http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/,pywin
 
 
记录的有点流水,自己备忘

win10安装wmi报错问题

标签:

原文地址:http://www.cnblogs.com/djzny/p/4898676.html

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