Closed Go-Code-Ren closed 3 years ago
A code example would be helpful
I guess you're doing something wrong
Works here:
>>> import qrcode
>>> img = qrcode.make('test')
>>> img
<qrcode.image.pil.PilImage object at 0x7f6504239128>
Probably its path issue Try it on the windows command prompt it works fine for me
Attribute error: qrcode has no module make()
For me, I have changed my filename from qrcode to another name
Yeah exactly don't keep the file name as qrcode.py please change it other name
yes it really works just change you filename qrcode.py to another name
don't keep the file name as qrcode.py it works !
For me, this error appears inside the docker. Works fine outside. How do I solve that?
For me, I have changed my filename from qrcode to another name
and I am guessing why this works ...:grin:
I just delete an app named qrcode and this works ... oooohaaaa 💯
I also had a problem when running the qr pip, I recommend doing a little test in the shell and it worked for me later!
I am getting same error where is this qrcode.py file exist
When I wanted to create a qr code, I get an error:
AttributeError: partially initialized module 'qrcode' has no attribute 'make' (most likely due to a circular import)
I don't have any file name qrcode.py but it still says module 'qrcode' has no attribute 'make'
despite changing the name i am getting the same error anyone can help me out
AttributeError: partially initialized module 'qrcode' has no attribute 'QRCode' (most likely due to a circular import). Did you mean: 'qrcode'? unable to ressolve..
Error while running a basic program such as that given in the module documentation.