我正在尝试在我的 64 位机器上安装 pywinauto。我已经处理了断言错误的问题并将它们从 win32structures 文件中删除。但是现在当我去 import pywinauto 我得到这个错误:
>>> import pywinauto
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\pywinauto\__init__.py", line 28, in <module>
import findwindows
File "C:\Python27\lib\site-packages\pywinauto\findwindows.py", line 37, in <module>
import controls
File "C:\Python27\lib\site-packages\pywinauto\controls\__init__.py", line 25,
in <module>
from HwndWrapper import GetDialogPropsFromHandle
File "C:\Python27\lib\site-packages\pywinauto\controls\HwndWrapper.py", line 34, in <module>
from pywinauto import SendKeysCtypes as SendKeys
ImportError: cannot import name SendKeysCtypes
有谁知道如何解决这个问题?