Python: Cannot install python module “pyautogui”

前端 未结 2 1116
逝去的感伤
逝去的感伤 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.

提交回复
热议问题