コマンドプロンプトで
python3
1pip install pyautogui
と書いたところ次のようになりました。
Processing c:\users\yukito\appdata\local\pip\cache\wheels\31\92\e2\05d6f3b32b7f3e4a64fc8cba76a24d59d0f86b8cac610732df\pyautogui-0.9.48-cp36-none-any.whl Collecting python3-Xlib Using cached https://files.pythonhosted.org/packages/ef/c6/2c5999de3bb1533521f1101e8fe56fd9c266732f4d48011c7c69b29d12ae/python3-xlib-0.15.tar.gz Requirement already satisfied: pymsgbox in c:\users\yukito\appdata\local\programs\python\python36\lib\site-packages (from pyautogui) (1.0.7) Collecting Xlib Using cached https://files.pythonhosted.org/packages/3f/00/321541273b0ed2167b36c82be9baeb0bdc8af1c11c1b01de9436b84b5eaf/xlib-0.21-py2.py3-none-any.whl Collecting pyobjc-core Using cached https://files.pythonhosted.org/packages/0e/28/0c26e0410f6b7751a4f360b01a61c66054fe3cec7678ea4d6da33e8cf2b7/pyobjc-core-6.0.1.tar.gz ERROR: Command errored out with exit status 1: command: 'c:\users\yukito\appdata\local\programs\python\python36\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-hlk24udz\pyobjc-core\setup.py'"'"'; __file__='"'"'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-hlk24udz\pyobjc-core\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-hlk24udz\pyobjc-core\pip-egg-info' cwd: C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-hlk24udz\pyobjc-core\ Complete output (2 lines): running egg_info error: PyObjC requires macOS to build ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
いろいろ調べて
pip install --upgrade pip setuptools
など試しましたが変わりませんでした。
windows10
python 3.6.7を使っています。
回答お願いします。
あなたの回答
tips
プレビュー