Getting “encoding' is an invalid keyword argument for this function” On Installing pyautogui via PIP

前端 未结 1 1265
醉酒成梦
醉酒成梦 2021-01-23 05:04

I\'m getting this error when I\'m trying to install \"pyautogui\" library to python. Please find the details below -

ERROR: Complete output from command python          


        
1条回答
  •  北海茫月
    2021-01-23 05:46

    This is a bug in pygetwindow, already reported but not resolved: https://github.com/asweigart/PyGetWindow/issues/9

    The problem is that in Python 3 open has parameter encoding, but not in Python 2. That is, the code now requires Python 3.

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