Jun-21-2022, 07:03 AM
You have a file in your directory named
Rename your file to something else so it doesn't conflict with the module name.
qrcode.py
. This is blocking (shadowing) the qrcode module. Python finds your file first when looking for the module.Rename your file to something else so it doesn't conflict with the module name.