当我使用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