As PIL does not support Python3.9 yet, use Python3.8 instead. Support xerox sudo apt-get install xclip