question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

_locateAll_python() got an unexpected keyword argument 'confidence'

See original GitHub issue

When i use pyautogui.locateCenterOnScreen("a.png", confidence=.9) on my PC it works just fine, but when i use the exact same command on my laptop it won’t work and gives the error in the title. I did pip install pyautogui on both machines, does anybody know how to fix that?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
Misnadcommented, Dec 5, 2020

I have open-cv installed and I still get the error.

3reactions
deimosfrcommented, May 1, 2019

Fixed the issue with opencv-python module installed

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: _locateAll_python() got an unexpected keyword ...
TypeError: _locateAll_python() got an unexpected keyword argument 'confidence'. I've been getting this error for a week now and have spent ...
Read more >
Documentation says to use a confidence parameter, but it ...
I am developing an app with pyautogui. I want to match a region on the desktop and click it. Calling the locateOnscreen function,...
Read more >
locateAll_python() got an unexpected keyword argument ...
When i use pyautogui.locateCenterOnScreen("a.png", confidence=.9) on my PC it works just fine, but when i use the exact same command on my ...
Read more >
Python – Documentation says to use a confidence parameter ...
Python – Documentation says to use a confidence parameter, but it throws an error ... TypeError: _locateAll_python() got an unexpected keyword argument ......
Read more >
TypeError: _locateAll_python() got an unexpected keyword ...
locateonscreen 函数添加confidence参数后报错,提示TypeError: _locateAll_python() got an unexpected keyword argument 'confidence'. 解决办法:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found