Skip to content Skip to sidebar Skip to footer

Getting "encoding' Is An Invalid Keyword Argument For This Function" On Installing Pyautogui Via Pip

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 setup.py egg_info: ERRO

Solution 1:

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.

Post a Comment for "Getting "encoding' Is An Invalid Keyword Argument For This Function" On Installing Pyautogui Via Pip"