title: Unexpected keyword argument 'confidence' even with opencv installed
body: <p>I've been struggling with this issue already for a few days but I can't manage to fix it.
  So I have the following code</p>
  <pre><code>import pyautogui
  from pyautogui import locateOnScreen, press, click
  from time import sleep
  import pydirectinput
  import keyboard
  
  button_location = locateOnScreen(&quot;button.png&quot;, confidence=&quot;0.7&quot;)
  </code></pre>
  <p>And I get the following error:</p>
  <pre><code>TypeError: _locateAll_python() got an unexpected keyword argument 'confidence'
  </code></pre>
  <p>I've literally installed and uninstalled a lot of python versions (2.7, 3.6, 3.7, 3.8, 3,9) but I always get the same error. I use the following commands to install the packages:</p>
  <pre><code>pip install pyautogui
  pip install opencv-python
  </code></pre>
  <p>And just in case, it's a Windows machine with an i5.</p>