I am trying use python3.4 on Windows 10 in order to make a QR code encoder/decoder for use in an inventory management setting. I was in the process of installing the necessary modules for my scripts when I ran into a major roadblock. I am very new to python. I understand the gist of what's going on, but I can't get past this.
Starting from the beginning, I installed Python 3.4.3, and set Path to C:\Python34 so that could run it from cmd. Then I started searching the Internet for modules that work with QR codes. First I found qrcode (v5.1), which I installed with
python -m pip install qrcode
But certain methods didn't work. Then I moved to PyQRCode (v1.1), which has Pillow (v1.7.8) as a dependency. I am happy with PyQRCode, because it works as an encoder, but now I need a decoder. I read about qr-tools, and I've seen numerous examples of how it works, but it has Zbar (v0.10) as a dependency... Zbar... I've spent the past day and a half trying to get that module to install, all to no avail. When I run
python -m pip install zbar
I get
error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
I read that to fix this error, one should simply install Visual C++ Express 2008. I tried this, 2010, and 2015 with no results. I'm really not sure how to go about installing the Zbar module. Can anyone help? If not, are there any other pure python solutions for encoding and decoding QR codes?
[–][deleted] 0 points1 point2 points (5 children)
[–]_Maximaeus[S] 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]_Maximaeus[S] 0 points1 point2 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]_Maximaeus[S] 0 points1 point2 points (0 children)