我正在试用pyautogui以实现鼠标的自动移动,但是程序返回的是未定义的puautogui。我在网上读到,pyautogui不需要windows中的任何附加包。我在IDLE中输入了导入pyautogui,结果出现了一个错误。你能帮忙吗?.File "<pyshell#0>", line 1, in <module>
importpyaut
这更多是一个理论问题,但不确定从哪里开始。在运行PyCharm脚本之前,我执行以下手动任务:2 - once the program opens i need to press the "Y" key to produce a spreadsheet to be used总之,我可以在PyCharm脚本中自动执行前两个步骤吗?
在使用pip成功地将pyautogui安装到我在Visual中使用的Python3.10环境后,在尝试导入库时仍然会出现此错误。Warning (active) reportMissingImports Import "pyautogui" could not be resolved我尝试过几次尝试,分别使用pip和pip3重新安