Error with ursina: "No module named Xlib"

Question:

I’m trying to use Ursina to make a game. I installed it on my Ubuntu/Debian terminal using "pip install ursina". It seemed to install fine, but any time I try to run anything using ursina, I get this error message:
enter image description here

I’m quite confused and I’ve tried uninstalling / reinstalling it a few times, but to no avail. Can someone help me?

Asked By: ParanoidAndroid

||

Answers:

I got the same problem and solved with:

pip install python3-xlib
Answered By: EMILIO
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.