在win10上,安裝wmi,首先下載https://pypi.python.org/pypi/WMI/#downloads,將wmi下載下來python
安裝過程當中,會報錯,No Python installation found in the registryui
接下來this
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:.net
HKEY_LOCAL_MACHINE/SOFTWARE/Wow6432Node/Python/PythonCore/2.7/InstallPath
and copy over the InstallPath value from:get
HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/2.7/InstallPath
同時須要安裝http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/,pywin
記錄的有點流水,本身備忘