Closed ilker-bekmezci closed 5 years ago
This is not giving me a lot to go on. Please provide more information. Did the pip install
command complete successfully? Could you include the output of that command?
How did you invoke the above script (QRCODE_Read.py
) that led to the error?
Is it possible that you have multiple versions of python installed and that you used pip
to install zbar
into a different python version than was used in the script?
I installed iconv and then zbar-py (pip install zbar-py). And then I write import zbar into y code. However, python cannot recognize the library.
The error is simple: Traceback (most recent call last): File "C:\Python27\GDrive\LAB\QRCODE_Read.py", line 16, in
import zbar
ImportError: No module named zbar
What can be the source of the error?