请问这是什么问题,改了无数遍还是错,python中使用qrcode
没有导入或下载Image模块吧
缺少模块装一下,在终端输入:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple image
需要安装pillow包,在命令行中执行命令pip install pillow安装就可以了
pip install pillow
没有Image 这个模块