在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
 
 
记录的有点流水,自己备忘

相关文章:

  • 2021-08-17
  • 2022-03-02
  • 2021-05-19
  • 2022-12-23
  • 2021-07-05
  • 2022-12-23
  • 2021-08-22
  • 2021-06-28
猜你喜欢
  • 2021-09-05
  • 2021-07-03
  • 2021-07-06
  • 2022-12-23
  • 2021-09-13
  • 2022-01-07
相关资源
相似解决方案