python imaging library - PIL disappeared after installing img2pdf - Stack Overflow

I installed img2pdf today.Nowfrom PIL import Image fails.I tried to uninstallreinstall Pillow,b

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条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信