使用pyautogui时,__init__.py不断出现错误

时间:2019-03-14 10:33:21

标签: python pyautogui

当我使用pyautogui时, init 会给出错误代码,并且自从我上次使用它以来,我没有做任何更改。

if sys.platform.startswith('java'):
    #from . import _pyautogui_java as platformModule
    raise NotImplementedError('Jython is not yet supported by PyAutoGUI.')
elif sys.platform == 'darwin':
    from . import _pyautogui_osx as platformModule
elif sys.platform == 'win32':    from . import _pyautogui_win as platformModule    
    from ._window_win import Window, getWindows, getWindow
else:
    from . import _pyautogui_x11 as platformModule

0 个答案:

没有答案