Python Pillow and PSUtil doesnot work with OSMC

I assume this would require an X Server to display the image, or?