I am trying to generate QR code in python. My code is working fine in another python file but throws an error when I tried to use it in Flask webapp. I\'ve already installed