Python: Cannot install python module “pyautogui”

前端 未结 2 1114
逝去的感伤
逝去的感伤 2020-12-12 04:19

I can\'t install python module called \"pyautogui\" on windows 10 with python version 3.8


CMD:

C:\\Users\\Миша>pip install pyautogui
Collect         


        
相关标签:
2条回答
  • 2020-12-12 04:59

    I found the solution:

    1. rollback pip to an older version:

      python -m pip install pip==18.1
      
    2. install desired module:

      pip install pyautogui
      
    3. update pip:

      python -m pip install --upgrade pip
      

    P.S. this solution works for other modules too.

    0 讨论(0)
  • 2020-12-12 05:06

    From the official documentation, it is mentioned to use "pip install PyAutoGUI" (follow the proper casing). I used the same and is working for me.

    0 讨论(0)
提交回复
热议问题