我在Windows 10上有python2.7.2,当我加载win32api和WMI时,它无法加载。Windows 10上的python安装与另一个windows 7 PC上的安装相同。 下面是在windows 10上导入上述模块时遇到的错误:>>> import win32api
Traceback (most recent call last):
File "", line 1, in
ImportError: DLL load failed: The specified module could not be found.
>>> import wmi
Traceback (most recent call last):
File "", line 1, in
File "c:\Python27\lib\site-packages\wmi.py", line 88, in
from win32com.client import GetObject, Dispatch
File "c:\Python27\lib\site-packages\win32com\__init__.py", line 5, in
import win32api, sys, os
ImportError: DLL load failed: The specified module could not be found.
我出问题的原因是什么?是否有与Windows 10一起使用的最低版本python?