为什么PyAutogui没有安装到我的计算机上?

2024-09-22 16:37:33 发布

您现在位置:Python中文网/ 问答频道 /正文

我正试图在我的笔记本电脑上安装pyautogui,以便使用它制作一个使用Arduino Uno的手势控制系统,它会给我以下错误:

ERROR: Command errored out with exit status 1:
     command: 'C:\Python27\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\\users\\user\\appdata\\local\\temp\\pip-install-sqzd6a\\pyautogui\\setup.py'"'"'; __file__='"'"'c:\\users\\user\\appdata\\local\\temp\\pip-install-sqzd6a\\pyautogui\\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\user\appdata\local\temp\pip-pip-egg-info-ukdpzd'
         cwd: c:\users\user\appdata\local\temp\pip-install-sqzd6a\pyautogui\
    Complete output (3 lines):
    C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    error in PyAutoGUI setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

请帮我解决这个问题


Tags: installpippyinfoegglocalsetupusers