简体   繁体   English

无法安装 pyautogui。 没有名为“pytweening”的模块

[英]Unable to install pyautogui. No module named 'pytweening'

When I try to do pip install pyautogui , I get this error message:当我尝试执行pip install pyautogui时,我收到以下错误消息:

ERROR: Command errored out with exit status 1:
     command: 'c:\users\s06elaus\bin\python\python-3.9.0-embed-win32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\s06elaus\\AppData\\Local\\Temp\\pip-install-ps6csmue\\pytweening_0ba0040cb36c4fd19bfae435d80ee501\\setup.py'"'"'; __file__='"'"'C:\\Users\\s06elaus\\AppData\\Local\\Temp\\pip-install-ps6csmue\\pytweening_0ba0040cb36c4fd19bfae435d80ee501\\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\s06elaus\AppData\Local\Temp\pip-pip-egg-info-dejgrny5'
         cwd: C:\Users\s06elaus\AppData\Local\Temp\pip-install-ps6csmue\pytweening_0ba0040cb36c4fd19bfae435d80ee501\
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\s06elaus\AppData\Local\Temp\pip-install-ps6csmue\pytweening_0ba0040cb36c4fd19bfae435d80ee501\setup.py", line 6, in <module>
        version=__import__('pytweening').__version__, # Dynamically calculate the version based on pytweening.VERSION.
    ModuleNotFoundError: No module named 'pytweening'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

When I try to install pytweening with pip, I get the same error message.当我尝试使用 pip 安装 pytweening 时,我收到相同的错误消息。 I Does anyone know a fix to this problem?我有谁知道解决这个问题?

Here you go!干得好!

py -m pip install pyautogui

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM