Apr-02-2017, 07:36 PM
I am using Windows 10 Home, 64-bit operating system and have installed python from https://www.python.org/downloads/. My python version is Python 3.6.1rc1 (v3.6.1rc1^0:e0fbe5feee4f9c00f09eb9659c2182183036261a, Mar 4 2017, 20:00:12) [MSC v.1900 64 bit (AMD64)] on win32. I wanted to use the import wmi command but I keep getting the following error-
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import wmi
File "C:\Users\Aryan\AppData\Local\Programs\Python\Python36\lib\site-packages\wmi.py", line 88, in <module>
from win32com.client import GetObject, Dispatch
ModuleNotFoundError: No module named 'win32com'
I installed wmi from https://pypi.python.org/pypi/WMI/ and the files name was WMI-1.4.9.win32.exe (md5). After doing some research I found that you need the pywin module. I downloaded the pywin module from https://sourceforge.net/projects/pywin32/files/pywin32/Build%20220/ which was Build 220. The files name was pywin32-220.win-amd64-py3.6.exe 2016-01-11. I downloaded it but cannot install it. The error coming was called “Python version 3.6-32 required, which was not found in the registry.” What should I do?
I am trying to get the temperature of my cpu via the Open Hardware Monitor software for which I believe I need to use wmi.
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import wmi
File "C:\Users\Aryan\AppData\Local\Programs\Python\Python36\lib\site-packages\wmi.py", line 88, in <module>
from win32com.client import GetObject, Dispatch
ModuleNotFoundError: No module named 'win32com'
I installed wmi from https://pypi.python.org/pypi/WMI/ and the files name was WMI-1.4.9.win32.exe (md5). After doing some research I found that you need the pywin module. I downloaded the pywin module from https://sourceforge.net/projects/pywin32/files/pywin32/Build%20220/ which was Build 220. The files name was pywin32-220.win-amd64-py3.6.exe 2016-01-11. I downloaded it but cannot install it. The error coming was called “Python version 3.6-32 required, which was not found in the registry.” What should I do?
I am trying to get the temperature of my cpu via the Open Hardware Monitor software for which I believe I need to use wmi.