Pyautogui locateCenteronscreen mac fix
import pyautogui
position = pyautogui.locateCenterOnScreen('image.png')
print(position.x/2,position.y/2)
pyautogui.click(position.x/2,position.y/2)
JM Wittenberger