pyautoguiを使いたい。
<環境>
MacOS catalina 10.15.3
Python 3.7.5
エラー文に出ている
pyobjc-core and pyobjcを
pip3 install pyobjc-core
pip3 install pyobjc
でインストールしたが変化が見られなかった。
よろしくお願いしますm(_ _)m
Siri:pypr yamato$ python3 連打2bot.py Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/mouseinfo/__init__.py", line 95, in <module> import Quartz File "/usr/local/lib/python3.7/site-packages/Quartz/__init__.py", line 5, in <module> import objc File "/usr/local/lib/python3.7/site-packages/objc/__init__.py", line 35, in <module> from objc._bridgesupport import * File "/usr/local/lib/python3.7/site-packages/objc/_bridgesupport.py", line 13, in <module> import pkg_resources File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 41, in <module> import inspect File "/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/inspect.py", line 35, in <module> import dis File "/Users/yamato/pypr/dis.py", line 1, in <module> n = int(input()) ValueError: invalid literal for int() with base 10: '' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "連打2bot.py", line 1, in <module> import pyautogui as pgui File "/usr/local/lib/python3.7/site-packages/pyautogui/__init__.py", line 94, in <module> import mouseinfo File "/usr/local/lib/python3.7/site-packages/mouseinfo/__init__.py", line 97, in <module> assert False, "You must first install pyobjc-core and pyobjc: https://pyautogui.readthedocs.io/en/latest/install.html" AssertionError: You must first install pyobjc-core and pyobjc: https://pyautogui.readthedocs.io/en/latest/install.html
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。