Ask coding questions

← Back to all posts
Problem with Pillow on Repl.it (Python)
LeonGrin (40)

I successfully installed Pillow on Repl.it, but the very basic show() function is not working. The Pillow tutorial recommends having the xv utility installed. I am not sure if this is the problem I am facing on Repl.it.

Does anybody know how can I make the Pillow's "show" function to work on Repl.it?

Pillow tutorial: https://pillow.readthedocs.io/en/5.2.x/handbook/tutorial.html

Comments
hotnewtop
ClassicShak (2)

Yes, I am having the same issue, I don't think pillow supports Pillow. I don't get any errors, but nothing prints out in the console

ash15khng (721)

Hi, I think repl.it does not support graphics, if Pillow is a graphics library.

brownadam (2)

To get PIL to work launch the shell and then pip install Pillow. However, you will have to do this every single time you want to use the PIL Library since everything is wiped from the shell once you are done using it.

I really hope this work around does not get removed. I need PIL to work for a course I teach and really do not want to have to find another online workspace!