I installed img2pdf today.
Now
from PIL import Image
fails.
I tried to uninstall / reinstall Pillow,
but it does not help.
Here's some details:
vlad@VKMB4:~/tmp$ python -V
Python 3.13.1
vlad@VKMB4:~/tmp$ python -c 'from PIL import Image'
Traceback (most recent call last):
File "<string>", line 1, in <module>
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
vlad@VKMB4:~/tmp$ pip install Pillow
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: Pillow in /Users/vlad/Library/Python/3.9/lib/python/site-packages (11.1.0)
vlad@VKMB4:~/tmp$
Any suggestions greatly appreciated. (((
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745352661a4623929.html
评论列表(0条)