Ask Your Question

Revision history [back]

I had the same problem on puppy linux which is built on the packages from Ubuntu...anyways, here is the answer from the Ubuntu site which worked for me as well!

November 18th, 2017 #2 lijingeorge lijingeorge is offline First Cup of Ubuntu

Join Date Jun 2017 Beans 3

Re: Python pyautogui

Solved
I have to do the following to solve it
xhost +
touch ~/.Xauthority
pip install pyautogui
Then installation was successful