python ImportError

python ImportError,第1张

ImportError: cannot import name ‘Image’ from ‘PIL’ (unknown location)
我确定已经成功安装了这个包
但是仍然报错
发现电脑中安装了两个python版本py3.8和py3.9
这个包安装在了py3.8目录下
默认编译器是3.9
运行

py -3.8 main.py

成功运行

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/869227.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-13
下一篇2022-05-13

发表评论

登录后才能评论

评论列表(0条)

    保存