+ 1
Why am I unable to import PIL in python?
I am trying to do following things: >> import PIL >> from PIL import Image >> import Pillow But nothing is working! Is there a way to use PIL module in sololearn?
4 Respostas
+ 6
You can pip install some external libraries on the Sololearn playground, as long as it takes a very short time and the total execution time does not exceed the limit.
This way you can use Pillow.
Examples:
https://code.sololearn.com/cA09A17a2455/?ref=app
https://code.sololearn.com/c5a19A1781a1/?ref=app
+ 1
Thanks Tibor Santa... It worked for me.