Closed andkirby closed 4 years ago
After qrcode.make(data) i get the exception:
qrcode.make(data)
# qrcode/image/pil.py:6 {ModuleNotFoundError} No module named 'Image'
What's wrong?
My packages in python 3.6.8:
appdirs==1.4.3 asgiref==3.2.3 cffi==1.13.2 Click==7.0 colorama==0.4.3 cryptography==2.8 Django==3.0.3 fcache==0.4.7 future==0.18.2 h11==0.9.0 image==1.5.28 Pillow==7.0.0 pycparser==2.19 pyngrok==1.4.3 python-engineio==3.11.2 python-socketio==4.4.0 pytz==2019.3 PyYAML==5.3 qrcode==6.1 selenium==3.141.0 six==1.14.0 sqlparse==0.3.0 urllib3==1.25.7 uvicorn==0.11.1 websockets==8.1
P.S. I was tried to change import to:
try: from PIL import Image, ImageDraw except (ImportError, ModuleNotFoundError): # pragma: no cover import Image import ImageDraw
and it does not work as well.
Not actual. Was using wrong python path.
After
qrcode.make(data)
i get the exception:What's wrong?
My packages in python 3.6.8:
P.S. I was tried to change import to:
and it does not work as well.