私はPython 3.4とPillowをインストールしました。他のすべての機能はpyautoguiに関連して動作しているだけスクリーンショットや他の画像認識のものは動作していません。Pyautoguiスクリーンショット戻り値AttributeError 'module'オブジェクトには属性がありません
>>> import pyautogui
>>> pyautogui.locateOnScreen('chrome.PNG')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'locateOnScreen'
同じ結果がスクリーンキャプチャ機能にも表示されます。 Windows 7のOS
で
私は下のリンクを読んだが、結果の非はピップでそれにそれを言及することにより、正確なバージョンをダウンロードしてみて、私のため Python: 'pyautogui' has no attribute 'screenshot' (Windows)