暂无图片
暂无图片
2
暂无图片
暂无图片
暂无图片

ModuleNotFoundError No module named 'PIL'问题解决

原创 代码的路 2022-08-12
2363

原文链接

Python使用时出现报错:

ModuleNotFoundError No module named ‘PIL’

该提示表示缺少pillow模块,可以用以下命令安装:

pip install pillow

如果提示:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: ‘/anaconda3/lib/python3.7/site-packages/Pillow-6.0.0.dist-info’
Consider using the --user option or check the permissions.

则使用命令:

pip install --user pillow

完成安装

 
 

学习更多编程知识,请关注我的公众号:

代码的路

公众号二维码.png

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

文章被以下合辑收录

评论