python中locateCenterOnScreen的confidence错误
运行pyautogui.locateCenterOnScreen(r'C:\Users\Administrator\desktop\python\bjh_zhijiefabu.png' , grayscale=False, confidence=0.7),会弹出错误,TypeError: _locateAll_python() got an unexpected keyword argument 'confidence’。
原因是少组件
“pip install -i https://pypi.tuna
原创
2020-11-02 21:40:03 ·
4073 阅读 ·
1 评论