我是python(3.5版本)的新手,我将mudule pywin32安装到我的电脑上。当我尝试导入pythoncom时,我收到此错误。
>>> import **pythoncom**
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import pythoncom
File "C:\Python\Python35-32\lib\site-packages\pythoncom.py", line 2, in <module>
import pywintypes
File "C:\Python\Python35-32\lib\site-packages\win32\lib\pywintypes.py", line 124, in <module>
__import_pywin32_system_module__("pywintypes", globals())
File "C:\Python\Python35-32\lib\site-packages\win32\lib\pywintypes.py", line 98, in __import_pywin32_system_module__
raise ImportError("No system module '%s' (%s)" % (modname, filename))
ImportError: No system module 'pywintypes' (pywintypes35.dll)
>>>
我已经重新安装了pywin32,并且已经尝试通过pip --upgrade命令更新它。 我的操作系统是Windows 10。 提前致谢。